Zendesk is a cloud-based customer service and support platform, offering features such as ticket management, self-service options, knowledge base management, live chat, customer analytics, and talks.
Zendesk support can be authenticated using one of the following three methods:
Log into Zendesk to find your subdomain in the URL. For example, for www.yourhub.zendesk.com
, the subdomain is yourhub
.
In the yaml
file, the config section contains the following properties:
Connector Name: Zendesk
Subdomain: Zendesk sub-domain
Email: Mail id used for login
Password: Password for the account
Token: API Token
OAuth Token: OAuth token
In this section, the mode of data refresh is defined. There are two modes: INCREMENTAL and FULL_TABLE
. It supports only columns with DateTime datatype.
INCREMENTAL |
|
This mode will fetch data from the date column mentioned as the replication key, starting from the date specified in the replication_value. Once it is scheduled, the replication_value will be updated automatically from the imported data. |
FULL_TABLE |
|
TThis mode fetches data from the date column mentioned in the replication key from the start date as mentioned in the replication value. Once it is scheduled, the replication value is updated based on the interval_type and interval_value from the imported data. For ex set interval_type as 'year' and intervalue value as '1'.In first schedule, will fetch the record from Jan 1, 2000 to Dec 31, 2000. In next schedule, will fetch the record from Jan 1, 2001 to Dec 31, 2001 and so on. |
version: 1
encrypt_credentials: false
plugins:
extractors:
- name: zendesk_data
connectorname: zendesk
config:
subdomain: <SUBDOMAIN>
email: <EMAIL>
password: <PASSWORD>
token: <TOKEN>
Oauth token: <OAUTH TOKEN>
Select:
- TABLE1
- TABLE2
metadata:
TABLE1:
replication_method: FULL_TABLE
replication_key: last_modified_on
replication_value: '2023-07-19 00:00:00'
interval_type: days
interval_value: 6
TABLE2:
replication_method: FULL_TABLE
replication_key: last_modified_on
replication_value: '2023-07-19 00:00:00'
interval_type: days
interval_value: 6
version: 1
encrypt_credentials: false
plugins:
extractors:
- name: zendesk_data
connectorname: zendesk
config:
subdomain: <SUBDOMAIN>
email: <EMAIL>
password: <PASSWORD>
token: <TOKEN>
Oauth token: <OAUTH TOKEN>
Select:
- TABLE1
- TABLE2
metadata:
TABLE1:
replication_method: FULL_TABLE
replication_key: last_modified_on
replication_value: '2023-07-19 00:00:00'
TABLE2:
replication_method: FULL_TABLE
replication_key: last_modified_on
replication_value: '2023-07-19 00:00:00'