Links

Freshservice

Get Domain Name

Retrieves the domain name assigned by Freshservice for an account.

Input Actions

call - Trigger the retrieval of the domain name.

Output Actions

onSuccess - Trigger an action when the domain name is successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Logged In User

Retrieves the information of an agent who is currently logged into the Freshdesk UI.

Input Actions

call - Trigger the retrieval of the agent information.

Output Actions

onSuccess - Trigger an action when the logged-in user is successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Ticket Details

Retrieves the information corresponding to a ticket.

Input Actions

call - Trigger the retrieval of the corresponding ticket information.

Output Actions

onSuccess - Trigger an action when the ticket information is successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Show / Hide Ticket Field

Input Actions

show - Trigger an action to display a ticket field on the Ticket Details page.
hide - Trigger an action to hide a ticket field on the Ticket Details page.
Parameters
Type
Description
id
String
The field name to be shown/hidden. Available options: status, priority, ticket_type, group, product, custom_field, and tag. Note: For the custom field, the name should be the name of your field.

Output Actions

onSuccess - Trigger an action when the ticket field is successfully shown or hidden.
onError - Trigger an action when the method returns an error message due to failed operation.

Enable / Disable Ticket Field

Enables or disables a particular ticket field on the Ticket Details page.

Input Actions

enable - Trigger an action to enable a ticket field on the Ticket Details page.
disable - Trigger an action to disable a ticket field on the Ticket Details page.
Parameters
Type
Description
id
String
The field name to be enabled/disabled. Available options: status, priority, ticket_type, group, product, custom_field, and tag. Note: For the custom field, the name should be the name of your field.

Output Actions

onSuccess - Trigger an action when the ticket field is successfully enabled or disabled from the Ticket Details page.
onError - Trigger an action when the method returns an error message due to failed operation.

Set Ticket Field Value

Enables the app to define values for a ticket field displayed on the Ticket Details page.

Input Actions

call - Trigger an action to set specific values for a ticket field displayed on the Ticket details page.
Parameters
Type
Description
id
String
The field name to set a value for.
Available options: status, priority, ticket_type, group, agent, product, and cf_custom_field. Note: For the custom field, the name should be the name of your field.
value
Number/String
Value to be set for the respective ticket field. Note: Some ticket fields require the respective number to be added as value. Refer to API docs for these values.

Output Actions

onSuccess - Trigger an action when the values for a ticket field are successfully defined.
onError - Trigger an action when the method returns an error message due to failed operation.

Start / Stop Ticket Timer

Starts or stops the ticket timer on the Ticket Details page.

Input Actions

start - Trigger an action to start or create a new timer on the Ticket Details page.
Parameters
Type
Description
value
Object
It accepts an Object with the following information. agent: (number) The agent to whom this time-entry is associated.
billable: (boolean) Set as true if the entry is billable.
note: (string) Description for this time-entry
For example: {"agent": 123, billable: true, note: "Some text"}}
toggle - Trigger an action to toggle the timer that is already running or stopped.
Parameters
Type
Description
value
String
It accepts a String with the ID of the time entry that needs to be updated.

Output Actions

onSuccess - Trigger an action when the timer is started or toggled successfully.
onError - Trigger an action when the method returns an error message due to failed operation.

Expand Ticket Conversation

Displays the entire conversation history associated with a specific ticket.

Input Actions

call - Trigger an action to display all the notes and replies added to a ticket.

Output Actions

onSuccess - Trigger an action when the entire ticket conversation can be viewed on the Ticket Details page.
onError - Trigger an action when the method returns an error message due to failed operation.

Open Ticket Note / Reply

Enables the app to open the editor to add note or reply and add the given input text.

Input Actions

call - Trigger an action to enable the app to open a note attached to the ticket and add a reply to it.
Parameters
Type
Description
type
Drop-down
Drop-down to choose Note or Reply to be added.
text
String
Text to be inserted in the editor window.

Output Actions

onSuccess - Trigger an action when the method enables the user to open a note and add a reply.
onError - Trigger an action when the method returns an error message due to failed operation.

Update Ticket Field Values

Enables the app to submit the updated ticket field values on the Ticket Details page.

Input Actions

call - Trigger an action to submit the updated ticket field values on the Ticket details page.

Output Actions

onSuccess - Trigger an action when the ticket field values are successfully submitted.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Requester Details

Retrieves the information of the requester.

Input Actions

call - Trigger an action to retrieve information about the requester.

Output Actions

onSuccess - Trigger an action when the details of the requestor are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Agent Details

Retrieves the information of the agent.

Input Actions

call - Trigger an action to retrieve information about the agent.

Output Actions

onSuccess - Trigger an action when the details of the agent are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Department Details

Retrieves the information of the department.

Input Actions

call - Trigger an action to retrieve information about the department.

Output Actions

onSuccess - Trigger an action when the details of the department are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Group Information

Retrieves the information of the group.

Input Actions

call - Trigger an action to retrieve information about the group.

Output Actions

onSuccess - Trigger an action when the details of the group are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Associated Problem

Retrieves the information of the Problem associated with the ticket.

Input Actions

call - Trigger an action to retrieve information about the Problem associated with the ticket.

Output Actions

onSuccess - Trigger an action when the details of the Problem associated with the ticket are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Associated Change

Retrieves the information of the Change associated with the ticket.

Input Actions

call - Trigger an action to retrieve information about the Change associated with the ticket.

Output Actions

onSuccess - Trigger an action when the details of the Change associated with the ticket are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Associated Tasks

Retrieves the information of the Tasks associated with the ticket.

Input Actions

call - Trigger an action to retrieve information about the Tasks associated with the ticket.

Output Actions

onSuccess - Trigger an action when the details of the Tasks associated with the ticket are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Recent Child Tickets

Retrieves the list of child tickets associated with the ticket.

Input Actions

call - Trigger an action to retrieve the information about the recent child tickets associated with the ticket.

Output Actions

onSuccess - Trigger an action when the details of the recent child tickets are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Requester Assets

Retrieves the list of assets associated with the requester.

Input Actions

call - Trigger an action to retrieve the information about the assets associated with the requester.

Output Actions

onSuccess - Trigger an action when the details of the assets associated with the requester are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Get Ticket Assets

Retrieves the list of assets associated with the ticket.

Input Actions

call - Trigger an action to retrieve the information about the assets associated with the ticket.

Output Actions

onSuccess - Trigger an action when the details of the assets associated with the ticket are successfully retrieved.
onError - Trigger an action when the method returns an error message due to failed operation.

Notification

Enables the app to display different types of notifications on the user interface.

Input Actions

call - Trigger an action to display notifications on the user interface.
Parameters
Type
Description
type
Drop-down
Drop-down to choose the type of notification. Options: Success, Warning, Info, Danger and Alert.
message
String
Message to be displayed in the notification.
title
String
Title to be displayed in the notification.

Output Actions

onSuccess - Trigger an action when the notifications are successfully displayed in the User Interface.
onError - Trigger an action when the method returns an error message due to failed operation.

On New Ticket Event

Enables the app to function based on the registered ticket fields event on the New Ticket Page.

Input Actions

registerEvent - Trigger the registration of an event on the New Ticket Page.
unregisterEvent - Trigger the deregistration of an event on the New Ticket Page.
Parameters
Type
Description
eventName
Drop-down
Indicates the name of the event that is registered/deregistered in the app.

Output Actions

onTrigger - Triggers an action when a change event pertaining to a ticket is triggered.
event - Information about the event that is triggered.

On Ticket Change Event

Enables the app to function based on the registered ticket fields change event on the Ticket Details Page.

Input Actions

registerEvent - Trigger the registration of a change event.
unregisterEvent - Trigger the deregistration of a change event.
Parameters
Type
Description
eventName
Drop-down
Indicates the name of the change event that is registered/deregistered in the app.

Output Actions

onTrigger - Triggers an action when a change event pertaining to a ticket is triggered.

On Ticket Click Event

Enables the app to function based on the registered ticket fields click event on the Ticket Details Page.

Input Actions

registerEvent - Trigger the registration of a click event.
unregisterEvent - Trigger the deregistration of a click event.
Parameters
Type
Description
eventName
Drop-down
Indicates the name of the click event that is registered/deregistered in the app.

Output Actions

onTrigger - Triggers an action when a click event pertaining to a ticket is triggered.