Skip to main content

Cyware Orchestrate

Zendesk

App Vendor: Zendesk

Connector Category: Case/Ticket Management

Connector Version: 2.0.0

API Version: 2.0.0

About App

Zendesk is a cloud-based help desk management solution that offers customizable tools to build customer service portals, knowledge base, and online communities. The Zendesk Support app allows the security teams to integrate with the Zendesk enterprise application to manage case management activities such as create, assign, update tickets to the user and manage knowledge base articles.

The Zendesk Support app is configured with the Orchestrate application to perform the following actions:

Action Name

Description

Add a new user

This action adds a new user.

Create a new ticket

This action can be used to create a new ticket.

Get all articles

This action can be used to return all articles in a specific language.

Get single/multiple ticket detail

This action retrieves details about a single or multiple ticket details.

List all tickets

This action can be used to return a list of all the tickets created.

List users by user role

This action can be used to return a list of all the users, filtered by user role.

Update ticket

This action can be used to update the ticket information for the provided ticket ID.

Create Request

This action creates a new request in the ZenDesk support application.

Get All User Fields

This action retrieves all user fields from the ZenDesk application.

List Ticket Fields

This action retrieves the list of ticket fields from the Zendesk application.

Get Ticket Field Details

This action retrieves the details of a ticket field using the ticket field ID.

Merge Ticket

This action is used to merge one or more tickets to a master ticket.

Search Users

This action searches for users in the Zendesk application.

Get User Details

This action retrieves user details from the Zendesk application.

List Requests

This action retrieves the list of requests from the Zendesk application.

Get Comments For Request

This action retrieves comments for requests from the Zendesk application.

Search Requests

This action searches for requests in the Zendesk application.

Update Request

This action updates a request in the Zendesk application.

List Email CCs

This action retrieves the list of email CCs in a ticket.

Get Attachment Details

This action retrieves details of an attachment from the Zendesk application.

Get Comment Details

This action retrieves details of a comment from the Zendesk application.

Get User Field Options

This action retrieves user field options from the Zendesk application.

Attach an Attachment to Ticket

This action adds an attachment to a ticket in the Zendesk application.

Upload Attachment

This action uploads an attachment to the Zendesk application.

Get User Field Details

This action retrieves details of a user field from the Zendesk application.

Get User Field Option Details

This action retrieves user field option details from the Zendesk application.

Configuration parameters

The following configuration parameters are required for the Zendesk app to communicate with the Zendesk enterprise application. The parameters can be configured by creating instances in the app.

Parameter

Description

Field Type

Required / Optional

Comments

Base URL

Enter the Zendesk Instance Base url.

Example:

https://abc.zendesk.com

Text

Required

Email ID

Enter the email address of the user for Authentication.

Text

Required

Password

Enter the password for Authentication.

Password

Required

API Token

Enter the API token.

Text

Optional

Action: Add a new user

This action can be used to add a new user.

Input parameters

Parameter

Description

Field Type

Required / Optional

Comments

Input user name

Enter the username.

Example:

"Anna"

Text

Required

Input user email ID

Enter the user's email address. For example,

Text

Required

Input user role

Enter the user role.

Text

Required

Allowed values:

  • admin

  • agent

  • end-user

Input custom role ID

Enter the custom role ID.

Text

Optional

Default value:

  • None

Additional parameters

Enter the additional parameters in the form of key-value pairs.

Key-value

Optional

Allowed values:

  • role_type

  • organization_id

  • custom_role_id

Example Request
[
    {
        "name": "asdf",
        "params": {},
        "user_role": "agent",
        "user_email_address": "asdf@gmail.com"
    }
]
Action: Create a new ticket

This action can be used to create a new ticket.

Input parameters

Parameter

Description

Field Type

Required / Optional

Comments

Input ticket subject

Enter the subject of the ticket. For example, "Authorization ticket".

Text

Required

Add description

Enter a short description regarding the ticket to be created. For example, "Unable to access the API".

Text

Required

Input ticket priority

Enter the priority of the ticket.

Text

Required

The allowed values are high, low, normal or urgent.

Example Request
[
    {
        "comment": "assdf",
        "subject": "asdf",
        "priority": "low"
    }
]
Action: Get all articles

This action can be used to return all articles in a specific language. The language can be specified using ISO codes, For example, "de" for German or "es" for Spanish.

Input parameters

Parameter

Description

Field Type

Required / Optional

Comments

Input locale choice

Enter a language in which articles are required.

Text

Required

Allowed values:

  • "de-de"

  • "en-uk"

  • "en-us"

  • "es-419"

  • "es-es"

  • "fr-fr"

  • "it-it"

  • "ja-jp"

  • "pt-br"

Default value:

  • "it-it"

Example Request
[
    {
        "locale": "de-de"
    }
]
Action: Get single/multiple ticket detail

This action can be used to return a single or multiple ticket detail.

Input parameters

Parameter

Description

Field Type

Required / Optional

Comments

Input ticket ID(s)

Enter the ticket ID(s). Provide comma separated list of ID(s) if multiple ticket details need to be fetched.

Example:

'1,2,3,4'

Text

Required

You can get the ticket ID using the "List all tickets" action.

Example Request
[
    {
        "ticket_ids": "1"
    }
]
Action: List all tickets

This action can be used to return a list of all the tickets created.

Input Parameters

No input parameters are required for this action.

Action: List users by user role

This action can be used to return a list of all the users, filtered by user role.

Input parameters

Parameter

Description

Field Type

Required / Optional

Comments

Input user role

Enter the user role.

Text

Required

The allowed values are "end-user", "agent", "admin".

Example Request
[
    {
        "user_role": "agent"
    }
]
Action: Update Ticket

This action can be used to update the ticket information for the provided ticket ID.

Input parameters

Parameter

Description

Field Type

Required / Optional

Comments

Input ticket ID

Enter the ticket ID. For example, 381

Text

Required

You can get the ticket ID using the "List all tickets" action.

Input ticket priority

Enter the priority of the ticket.

Text

Optional

The allowed values are"urgent", "high", "normal", "low".The default, the priority is set as "None".

Author ID

Enter the Author ID to set a different Author.

Text

Optional

The default, author is set as "None".

Add comment

Enter a comment to add in a ticket.

Text

Optional

The default comment is set as"None".

Input ticket status

Enter the status of a ticket.

Text

Optional

The allowed values are "open", "close". The default status is set as 'open'.

Additional parameters

Enter the additional parameters in the form of key-value pairs.

Key value

Optional

Example Request
[
    {
        "params": {},
        "priority": "low",
        "ticket_id": "1",
        "ticket_status": "open"
    }
]
Action: Create Request

This action creates a new request in the ZenDesk support application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Comment

Enter the comment to add to the request.

Example:

"This feature is not working. Requesting support."

Text

Required

Subject

Enter the subject for the request.

Example:

"Feature not working"

Text

Required

Example Request
[
    {
        "comment": "This feature is not working. Requesting support.",
        "subject": "Feature not working"
    }
]
Action: Get All User Fields

This action retrieves all user fields from the ZenDesk application.

Input Parameters

Input parameters are not required for this action.

Action: List Ticket Fields

This action retrieves the list of ticket fields from the Zendesk application.

Input Parameters

Input parameters are not required for this action.

Action: Get Ticket Field Details

This action retrieves the details of a ticket field using the ticket field ID.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Ticket Field ID

Enter the unique ticket field ID to get the details.

Text

Required

Example Input
[
    {
        "ticket_field_id": "1260819481330"
    }
]
Action: Merge Tickets

This action is used to merge one or more tickets to a master ticket.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Ticket To Merge List

Enter the list of ticket IDs to merge. The list can be added as comma-separated values.

List

Required

Ticket ID

Enter the ticket ID of the master ticket.

Text

Required

Source Comment

Enter the source comment for merging the tickets.

Text

Required

Target Comment

Enter the target comments for merging the tickets.

Text

Required

Example Input
[
    {
        "ticket_id": "3",
        "source_comment": "Example Source COmment",
        "target_comment": "Example Target Comment",
        "tickets_to_merge_list": [
            "14",
            "15"
        ]
    }
]
Action: Search Requests

This action searches for requests in the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Query

Enter the exact query string to perform the request search.

Example:

"Example Request"

Text

Required

Example Input
[
    {
        "query": "Example Request"
    }
]
Action: Get User Details

This action retrieves user details from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

User ID

Enter the unique ID for the user to retrieve details.

Text

Required

Example Input
[
    {
        "user_id": "1264787977250"
    }
]
Action: List Requests

This action retrieves the list of requests from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Request Status

Enter the request status to retrieve the list.

Example:

"open"

Text

Required

Allowed values:

  • new

  • open

  • pending

  • hold

  • solved

  • closed

Example Input
[
    {
        "request_status": "open"
    }
]
Action: Get Comments For Request

This action retrieves comments for requests from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Request ID

Enter the request ID to get the comments related to the request.

Text

Required

Example Input
[
    {
        "request_id": "43"
    }
]
Action: Search Requests

This action searches for requests in the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Query

Enter the exact query string to perform the request search.

Example:

"Example Request"

Text

Required

Example Input
[
    {
        "query": "Example Request"
    }
]
Action: Update Request

This action updates a request in the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Comment

Enter the comment to update the request.

"Example Comment"

Text

Required

Solved

Enter the solved status for the request to update.

Example:

"true"

Boolean

Required

Accepted values:

  • true

  • false

Request ID

Enter the request ID to update the details.

Text

Required

You can retrieve the request ID using the "List Requests" action

Example Input
[
    {
        "solved": "true",
        "comment": "Example Comment",
        "request_id": "43"
    }
]
Action: List Email CCs

This action retrieves the list of email CCs in a ticket.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Ticket ID

Enter the unique ID for the ticket to get the list of email CCs.

Text

Required

Example Input
[
    {
        "ticket_id": "44"
    }
]
Action: Get Attachment Details

This action retrieves details of an attachment from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Attachment ID

Enter the attachment ID to get the details.

Text

Required

Example Input
[
    {
        "attachment_id": "1900035110364"
    }
]
Action: Get Comment Details

This action retrieves details of a comment from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Request ID

Enter the request ID related to the comment.

Text

Required

Comment ID

Enter the comment ID to get the details.

Text

Required

Example Input
[
    {
        "comment_id": "24",
        "request_id": "43"
    }
]
Action: Get User Field Options

This action retrieves user field options from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Field ID

Enter the field ID to get the user field option details.

Text

Required

Example Input
[
    {
        "field_id": "1260801239749"
    }
]
Action: Attach an Attachment to Ticket

This action adds an attachment to a ticket in the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Token

Enter the attachment token received when uploading the file. The file token is for one time use only.

Text

Required

Ticket ID

Enter the ticket ID to add the attachment.

Text

Required

Comment

Enter the comment to add along with the attachment.

Text

Required

Example Input
[
    {
        "token": "Jh0oJDmsCFrU2ihRzNoh9Byp9",
        "comment": "New Comment",
        "ticket_id": "44"
    }
]
Action: Upload Attachment

This action uploads an attachment to the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

File Name

Enter the file name to use for the attachment file on Zendesk.

Example:

"attachment.txt"

Text

Required

File Path

Specify the file path of the file to upload to Zendesk.

Example:

"/path/example/file.txt"

Text

Required

Example Input
[
    {
        "filename": "attachment.txt",
        "filepath": "/path/example/file.txt"
    }
]
Action: Get User Field Details

This action retrieves details of a user field from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Field ID

Enter the unique field ID to retrieve the details.

Text

Required

Example Input
[
    {
        "field_id": "1900000050464"
    }
]
Action: Get User Field Option Details

This action retrieves user field option details from the Zendesk application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Field ID

Enter the unique ID for the user field to retrieve the details.

Text

Required

Field Option ID

Enter the field type ID to get details.

Text

Required

Example Input
[
    {
        "field_id": "1260801239749",
        "field_option_id": "1260801041029"
    }
]