ByteChef LogoByteChef
Components

Zendesk

Zendesk is a customer service and sales platform that helps businesses manage customer interactions across various channels.

Categories: Surveys and Feedback

Type: zendesk/v1


Connections

Version: 1

basic_auth

Properties

NameLabelTypeDescriptionRequired
api_tokenAPI TokenSTRINGAPI tokens are managed in the Admin Center interface at Apps and integrations > APIs > API Tokens.true
emailEmailSTRINGYour Zendesk account email.true
subdomainSubdomainSTRINGSubdomain of your Zendesk account (e.g. https://SUBDOMAIN.zendesk.com).true

Actions

Add Comment to Ticket

Name: commentTicket

Adds a comment to an existing ticket.

Properties

NameLabelTypeDescriptionRequired
ticketIdTicket IDINTEGERID of the ticket that will get the comment.true
commentCommentSTRINGA ticket comment.true

Example JSON Structure

{
  "label" : "Add Comment to Ticket",
  "name" : "commentTicket",
  "parameters" : {
    "ticketId" : 1,
    "comment" : ""
  },
  "type" : "zendesk/v1/commentTicket"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGAPI URL of the ticket resource.
idINTEGERTicket ID.
external_idINTEGERExternal ID of the ticket.
viaOBJECT
Properties {STRING(channel), {{}(from), {}(to), {}(rel)}(source)}
Information for how the ticket was created.
created_atSTRINGTimestamp when the ticket was created.
updated_atSTRINGTimestamp of the last update to the ticket.
generated_timestampINTEGERUNIX timestamp when the ticket was generated.
typeSTRINGType of the ticket.
subjectSTRINGSubject line of the ticket.
raw_subjectSTRINGUnprocessed subject line of the ticket.
descriptionSTRINGDetailed description of the ticket issue.
prioritySTRINGPriority of the ticket.
statusSTRINGCurrent status of the ticket.
recipientSTRINGEmail address of the ticket recipient.
requester_idINTEGERID of the user who requested the ticket.
submitter_idINTEGERID of the user who submitted the ticket.
assignee_idINTEGERID of the agent assigned to the ticket.
organization_idINTEGERID of the organization associated with the requester.
group_idINTEGERID of the group associated with the ticket.
collaborator_idsARRAY
Items [INTEGER]
List of user IDs who are collaborators on the ticket.
follower_idsARRAY
Items [INTEGER]
List of user IDs following the ticket.
email_cc_idsARRAY
Items []
List of ticket CCs user IDs.
forum_topic_idsARRAY
Items []
List of forum ID topics.
problem_idINTEGERID of the problem the ticket is linked to.
has_incidentsBOOLEAN
Options true, false
Whether the ticket has related incidents.
is_publicBOOLEAN
Options true, false
Whether the ticket is public.
due_atSTRINGDue date for the ticket, if any.
tagsARRAY
Items [STRING]
List of tags associated with the ticket.
custom_fieldsARRAY
Items [{INTEGER(id), STRING(value)}]
Custom field values associated with the ticket.
satisfaction_ratingOBJECT
Properties {STRING(comment), INTEGER(id), STRING(score)}
Customer satisfaction rating for the ticket.
sharing_agreement_idsARRAY
Items [INTEGER($id)]
List of sharing agreement IDs for the ticket.
custom_status_idINTEGERCustom status ID for the ticket.
encoded_idSTRINGEncoded ticket ID.
fieldsARRAY
Items [{INTEGER(id), STRING(value)}($item)]
Ticket fields.
followup_idsARRAY
Items []
Array of follow up IDs.
ticket_form_idINTEGERTicket form ID.
brand_idINTEGERBrand ID.
allow_channelbackBOOLEAN
Options true, false
Whether channelback is allowed for the ticket.
allow_attachmentsBOOLEAN
Options true, false
Whether attachments are allowed for the ticket.
from_messaging_channelBOOLEAN
Options true, false
Indicates if the ticket originated from a messaging channel.

Output Example

{
  "url" : "",
  "id" : 1,
  "external_id" : 1,
  "via" : {
    "channel" : "",
    "source" : {
      "from" : { },
      "to" : { },
      "rel" : { }
    }
  },
  "created_at" : "",
  "updated_at" : "",
  "generated_timestamp" : 1,
  "type" : "",
  "subject" : "",
  "raw_subject" : "",
  "description" : "",
  "priority" : "",
  "status" : "",
  "recipient" : "",
  "requester_id" : 1,
  "submitter_id" : 1,
  "assignee_id" : 1,
  "organization_id" : 1,
  "group_id" : 1,
  "collaborator_ids" : [ 1 ],
  "follower_ids" : [ 1 ],
  "email_cc_ids" : [ ],
  "forum_topic_ids" : [ ],
  "problem_id" : 1,
  "has_incidents" : false,
  "is_public" : false,
  "due_at" : "",
  "tags" : [ "" ],
  "custom_fields" : [ {
    "id" : 1,
    "value" : ""
  } ],
  "satisfaction_rating" : {
    "comment" : "",
    "id" : 1,
    "score" : ""
  },
  "sharing_agreement_ids" : [ 1 ],
  "custom_status_id" : 1,
  "encoded_id" : "",
  "fields" : [ {
    "id" : 1,
    "value" : ""
  } ],
  "followup_ids" : [ ],
  "ticket_form_id" : 1,
  "brand_id" : 1,
  "allow_channelback" : false,
  "allow_attachments" : false,
  "from_messaging_channel" : false
}

Create Organization

Name: createOrganization

Creates an organization.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGName of the organization.true
detailsDetailsSTRINGAny details about the organization, such as the address.false
domain_namesDomain NamesARRAY
Items [STRING($domain_name)]
An array of domain names associated with this organization.true
notesNotesSTRINGAny notes you have about the organization.false

Example JSON Structure

{
  "label" : "Create Organization",
  "name" : "createOrganization",
  "parameters" : {
    "name" : "",
    "details" : "",
    "domain_names" : [ "" ],
    "notes" : ""
  },
  "type" : "zendesk/v1/createOrganization"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGURL of the created organization.
idSTRINGOrganization ID.
nameSTRINGOrganization name.
shared_ticketsBOOLEAN
Options true, false
Whether the organization can share tickets.
shared_commentsBOOLEAN
Options true, false
Whether the organization can share comments.
external_idINTEGERExternal ID of the organization.
created_atSTRINGDate when the organization was created.
updated_atSTRINGDate when the organization was last updated.
domain_namesARRAY
Items [STRING]
Array of domain names of the organization.
detailSTRINGDetails about the organization.
notesSTRINGNotes about the organization.
group_idINTEGERGroup ID of the organization.
tagsARRAY
Items [STRING]
Tags of the organization.
organization_fieldsOBJECT
Properties {}
Custom organization fields of the organization.

Output Example

{
  "url" : "",
  "id" : "",
  "name" : "",
  "shared_tickets" : false,
  "shared_comments" : false,
  "external_id" : 1,
  "created_at" : "",
  "updated_at" : "",
  "domain_names" : [ "" ],
  "detail" : "",
  "notes" : "",
  "group_id" : 1,
  "tags" : [ "" ],
  "organization_fields" : { }
}

Create Ticket

Name: createTicket

Creates a ticket.

Properties

NameLabelTypeDescriptionRequired
subjectSubjectSTRINGSubject of the ticket.false
typeTypeSTRING
Options problem, incident, question, task
Type of the ticket.false
commentCommentSTRINGComment of the ticket.true
priorityPrioritySTRING
Options low, normal, high, urgent
Priority of the ticket.false
statusStatusSTRING
Options new, open, pending, hold, solved, closed
Status of the ticket.false

Example JSON Structure

{
  "label" : "Create Ticket",
  "name" : "createTicket",
  "parameters" : {
    "subject" : "",
    "type" : "",
    "comment" : "",
    "priority" : "",
    "status" : ""
  },
  "type" : "zendesk/v1/createTicket"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGAPI URL of the ticket resource.
idINTEGERTicket ID.
external_idINTEGERExternal ID of the ticket.
viaOBJECT
Properties {STRING(channel), {{}(from), {}(to), {}(rel)}(source)}
Information for how the ticket was created.
created_atSTRINGTimestamp when the ticket was created.
updated_atSTRINGTimestamp of the last update to the ticket.
generated_timestampINTEGERUNIX timestamp when the ticket was generated.
typeSTRINGType of the ticket.
subjectSTRINGSubject line of the ticket.
raw_subjectSTRINGUnprocessed subject line of the ticket.
descriptionSTRINGDetailed description of the ticket issue.
prioritySTRINGPriority of the ticket.
statusSTRINGCurrent status of the ticket.
recipientSTRINGEmail address of the ticket recipient.
requester_idINTEGERID of the user who requested the ticket.
submitter_idINTEGERID of the user who submitted the ticket.
assignee_idINTEGERID of the agent assigned to the ticket.
organization_idINTEGERID of the organization associated with the requester.
group_idINTEGERID of the group associated with the ticket.
collaborator_idsARRAY
Items [INTEGER]
List of user IDs who are collaborators on the ticket.
follower_idsARRAY
Items [INTEGER]
List of user IDs following the ticket.
email_cc_idsARRAY
Items []
List of ticket CCs user IDs.
forum_topic_idsARRAY
Items []
List of forum ID topics.
problem_idINTEGERID of the problem the ticket is linked to.
has_incidentsBOOLEAN
Options true, false
Whether the ticket has related incidents.
is_publicBOOLEAN
Options true, false
Whether the ticket is public.
due_atSTRINGDue date for the ticket, if any.
tagsARRAY
Items [STRING]
List of tags associated with the ticket.
custom_fieldsARRAY
Items [{INTEGER(id), STRING(value)}]
Custom field values associated with the ticket.
satisfaction_ratingOBJECT
Properties {STRING(comment), INTEGER(id), STRING(score)}
Customer satisfaction rating for the ticket.
sharing_agreement_idsARRAY
Items [INTEGER($id)]
List of sharing agreement IDs for the ticket.
custom_status_idINTEGERCustom status ID for the ticket.
encoded_idSTRINGEncoded ticket ID.
fieldsARRAY
Items [{INTEGER(id), STRING(value)}($item)]
Ticket fields.
followup_idsARRAY
Items []
Array of follow up IDs.
ticket_form_idINTEGERTicket form ID.
brand_idINTEGERBrand ID.
allow_channelbackBOOLEAN
Options true, false
Whether channelback is allowed for the ticket.
allow_attachmentsBOOLEAN
Options true, false
Whether attachments are allowed for the ticket.
from_messaging_channelBOOLEAN
Options true, false
Indicates if the ticket originated from a messaging channel.

Output Example

{
  "url" : "",
  "id" : 1,
  "external_id" : 1,
  "via" : {
    "channel" : "",
    "source" : {
      "from" : { },
      "to" : { },
      "rel" : { }
    }
  },
  "created_at" : "",
  "updated_at" : "",
  "generated_timestamp" : 1,
  "type" : "",
  "subject" : "",
  "raw_subject" : "",
  "description" : "",
  "priority" : "",
  "status" : "",
  "recipient" : "",
  "requester_id" : 1,
  "submitter_id" : 1,
  "assignee_id" : 1,
  "organization_id" : 1,
  "group_id" : 1,
  "collaborator_ids" : [ 1 ],
  "follower_ids" : [ 1 ],
  "email_cc_ids" : [ ],
  "forum_topic_ids" : [ ],
  "problem_id" : 1,
  "has_incidents" : false,
  "is_public" : false,
  "due_at" : "",
  "tags" : [ "" ],
  "custom_fields" : [ {
    "id" : 1,
    "value" : ""
  } ],
  "satisfaction_rating" : {
    "comment" : "",
    "id" : 1,
    "score" : ""
  },
  "sharing_agreement_ids" : [ 1 ],
  "custom_status_id" : 1,
  "encoded_id" : "",
  "fields" : [ {
    "id" : 1,
    "value" : ""
  } ],
  "followup_ids" : [ ],
  "ticket_form_id" : 1,
  "brand_id" : 1,
  "allow_channelback" : false,
  "allow_attachments" : false,
  "from_messaging_channel" : false
}

Triggers

New Ticket

Name: newTicket

Triggers when a new ticket is submitted.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeDescriptionRequired
nameWebhook NameSTRINGName of the webhook.true

Output

Type: OBJECT

Properties

NameTypeDescription
actor_idSTRINGID of the actor that triggered the webhook.
assignee_idSTRINGID of the agent assigned to the ticket.
brand_idSTRINGBrand ID.
created_atSTRINGTimestamp when the ticket was created.
custom_statusINTEGERCustom status of the ticket.
descriptionSTRINGDetailed description of the ticket issue.
external_idSTRINGExternal ID of the ticket.
form_idSTRINGForm ID.
group_idSTRINGID of the group associated with the ticket.
idSTRINGTicket ID.
is_publicBOOLEAN
Options true, false
Whether the ticket is public.
organization_idSTRINGID of the organization associated with the requester.
prioritySTRINGPriority of the ticket.
requester_idSTRINGID of the user who requested the ticket.
statusSTRINGCurrent status of the ticket.
subjectSTRINGSubject line of the ticket.
submitter_idSTRINGID of the user who submitted the ticket.
tagsARRAY
Items [STRING]
List of tags associated with the ticket.
typeSTRINGType of the ticket.
updated_atSTRINGTimestamp of the last update to the ticket.
viaOBJECT
Properties {STRING(channel), {{}(from), {}(to), {}(rel)}(source)}
Information for how the ticket was created.

JSON Example

{
  "label" : "New Ticket",
  "name" : "newTicket",
  "parameters" : {
    "name" : ""
  },
  "type" : "zendesk/v1/newTicket"
}

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.


Additional instructions

Connection Setup

Create API Token

  1. Go to your Zendesk dashboard.
  2. Click this icon.
  3. Click on Apps and integrations.
  4. Click on API configuration.
  5. Enable API token access.
  6. Click on Save.
  7. Click on API tokens.
  8. Click on Add API token.
  9. Enter description of the token.
  10. Click on Save.
  11. Click on Copy.
  12. Click on Save.
  13. Done 🚀