Zendesk

Zendesk logo

Zendesk

Connect your Zendesk data to Airweave

Overview

The Zendesk connector allows you to sync data from Zendesk into Airweave, making it available for search and retrieval by your agents.

Configuration

ZendeskSource

Zendesk source implementation (read-only).

Retrieves data from Zendesk for the following objects:

  • Organizations
  • Users
  • Tickets
  • Comments

Yields them as the corresponding entity objects defined in airweave.platform.entities.zendesk.

Authentication

This connector uses OAuth 2.0 with refresh token.

You can connect through the Airweave UI, which will guide you through the OAuth flow.

Entities

The following data models are available for this connector:

Schema for a Zendesk organization.

References: https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/

FieldTypeDescription
nameOptional[str]Name of the organization.
detailsOptional[str]Details about the organization.
domain_namesList[str]List of domain names associated with this organization.
external_idOptional[str]An external ID for this organization.
shared_ticketsboolWhether tickets from this organization are shareable with all members.
shared_commentsboolWhether comments are shared between all members of the organization.
created_atOptional[datetime]When the organization was created.
updated_atOptional[datetime]When the organization was last updated.
archivedboolPlaceholder for archival state if applicable.

Schema for a Zendesk user (agent or end user).

References: https://developer.zendesk.com/api-reference/ticketing/users/users/

FieldTypeDescription
nameOptional[str]The user’s full name.
emailOptional[str]The user’s email address.
roleOptional[str]Role assigned, e.g., ‘admin’, ‘agent’, ‘end-user’.
time_zoneOptional[str]The user’s time zone.
localeOptional[str]Locale for the user (language, date/time format).
activeboolWhether the user is currently active.
verifiedboolWhether the user’s identity is verified.
sharedboolWhether the user is shared from a different Zendesk instance or created locally.
suspendedboolWhether the user is suspended.
last_login_atOptional[datetime]When the user last signed in (if available).
created_atOptional[datetime]When the user was created.
updated_atOptional[datetime]When the user was last updated.
archivedboolPlaceholder for archival state if applicable.

Schema for a Zendesk ticket.

References: https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/

FieldTypeDescription
subjectOptional[str]Subject or summary of the ticket.
descriptionOptional[str]Description text of the ticket.
typeOptional[str]Type of ticket, e.g., ‘question’, ‘incident’.
priorityOptional[str]Priority of the ticket, e.g., ‘low’, ‘normal’.
statusOptional[str]Current status, e.g., ‘open’, ‘pending’.
tagsList[str]List of tags attached to the ticket.
requester_idOptional[str]ID of the user that requested the ticket (i.e., the ticket’s author).
assignee_idOptional[str]ID of the user (agent) assigned to handle this ticket.
organization_idOptional[str]ID of the organization associated with this ticket.
group_idOptional[str]ID of the group this ticket is assigned to.
created_atOptional[datetime]When the ticket was created.
updated_atOptional[datetime]When the ticket was last updated.
due_atOptional[datetime]When this ticket is due.
viaOptional[Dict[str, Any]]Details about the source through which this ticket was created (e.g., channel).
custom_fieldsList[Dict[str, Any]]List of custom field objects with id/value pairs for this ticket.
archivedboolPlaceholder for archival state if applicable.

Schema for a Zendesk comment, typically tied to a specific ticket.

References: https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/

FieldTypeDescription
ticket_idstrID of the ticket this comment belongs to.
author_idOptional[str]ID of the user who wrote this comment.
plain_bodyOptional[str]Plain text version of the comment.
publicboolWhether the comment is public or private.
created_atOptional[datetime]When the comment was created.
attachmentsList[Dict[str, Any]]Attachments associated with the comment, if any.
archivedboolPlaceholder for archival state if applicable.