Zendesk Support
This page contains the setup guide and reference information for the Zendesk Support source connector.
Prerequisites
- A Zendesk account with an Administrator role.
Setup guide
The Zendesk Support source connector supports two authentication methods:
- OAuth 2.0
- API token
For Airbyte Cloud users, we highly recommend using OAuth to authenticate your Zendesk Support account, as it simplifies the setup process and allows you to authenticate directly from the Airbyte UI.
For Airbyte Open Source users, we recommend using an API token to authenticate your Zendesk Support account. Please follow the steps below to generate this key.
If you prefer to authenticate with OAuth for Airbyte Open Source, you can follow the steps laid out in this Zendesk article to obtain your client ID, client secret and access token. Please ensure you set the scope to read
when generating the access token.
(Airbyte Open Source) Enable API token access and generate a token
Log in to your Zendesk account.
Click the Zendesk Products icon (four squares) in the top-right corner, then select Admin Center.
In the left navbar, click Apps and Integrations, then select APIs > Zendesk API.
In the Settings tab, toggle the option to enable token access.
Click the Add API token button. You may optionally provide a token description.
cautionBe sure to copy the token and save it in a secure location. You will not be able to access the token's value after you close the page.
Click Save.
Set up the Zendesk Support source connector
Log in to your Airbyte Cloud or Airbyte Open Source account.
In the left navigation bar, click Sources. In the top-right corner, click + New source.
Find and select Zendesk Support from the list of available sources.
For Source name, enter a name to help you identify this source.
You can use OAuth or an API token to authenticate your Zendesk Support account. We recommend using OAuth for Airbyte Cloud and an API key for Airbyte Open Source.
- For Airbyte Cloud: To authenticate using OAuth, select OAuth 2.0 from the Authentication dropdown, then click Authenticate your Zendesk Support account to sign in with Zendesk Support and authorize your account.
- For Airbyte Open Source: To authenticate using an API key, select API Token from the Authentication dropdown and enter the API token you generated, as well as the email address associated with your Zendesk Support account.
For Subdomain, enter your Zendesk subdomain. This is the subdomain found in your account URL. For example, if your account URL is
https://MY_SUBDOMAIN.zendesk.com/
, thenMY_SUBDOMAIN
is your subdomain.(Optional) For Start Date, use the provided datepicker or enter a UTC date and time programmatically in the format
YYYY-MM-DDTHH:mm:ssZ
. The data added on and after this date will be replicated. If this field is left blank, Airbyte will replicate the data for the last two years by default.Click Set up source and wait for the tests to complete.
Supported sync modes
The Zendesk Support source connector supports the following sync modes:
- Full Refresh | Overwrite
- Full Refresh | Append
- Incremental Sync | Append
- Incremental Sync | Deduped History
Supported streams
There are two types of incremental sync:
- Incremental (standard server-side, where API returns only the data updated or generated since the last sync)
- Client-Side Incremental (API returns all available data and connector filters out only new records)
The Zendesk Support source connector supports the following streams:
- Account Attributes
- Articles (Incremental)
- Article Votes (Incremental)
- Article Comments (Incremental)
- Article Comment Votes (Incremental)
- Attribute Definitions
- Audit Logs(Incremental) (Only available for enterprise accounts)
- Brands
- Custom Roles (Incremental)
- Groups (Incremental)
- Group Memberships (Incremental)
- Macros (Incremental)
- Organizations (Incremental)
- Organization Fields (Incremental)
- Organization Memberships (Incremental)
- Posts (Incremental)
- Post Comments (Incremental)
- Post Comment Votes (Incremental)
- Post Votes (Incremental)
- Satisfaction Ratings (Incremental)
- Schedules (Incremental)
- SLA Policies (Incremental)
- Tags
- Tickets (Incremental)
- Ticket Audits (Client-Side Incremental)
- Ticket Comments (Incremental)
- Ticket Fields (Incremental)
- Ticket Forms (Incremental)
- Ticket Metrics (Incremental)
- Ticket Metric Events (Incremental)
- Topics (Incremental)
- Ticket Skips (Incremental)
- Users (Incremental)
- UserFields
Deleted Records Support
The Zendesk Support connector fetches deleted records in the following streams:
Stream | Deletion indicator field |
---|---|
Brands | is_deleted |
Groups | deleted |
Organizations | deleted_at |
Ticket Metric Events | deleted |
Tickets | status ==deleted |
Performance considerations
The connector is restricted by normal Zendesk requests limitation.
The Zendesk connector ideally should not run into Zendesk API limitations under normal usage. Create an issue if you see any rate limit issues that are not automatically retried successfully.
Changelog
Version | Date | Pull Request | Subject |
---|---|---|---|
2.2.0 | 2023-10-31 | 31999 | Extended the CustomRoles stream schema |
2.1.1 | 2023-10-23 | 31702 | Base image migration: remove Dockerfile and use the python-connector-base image |
2.1.0 | 2023-10-19 | 31606 | Added new field reply_time_in_seconds to the Ticket Metrics stream schema |
2.0.0 | 2023-09-15 | 30440 | Remove stream Deleted Tickets |
1.7.0 | 2023-09-11 | 30259 | Add stream Deleted Tickets |
1.6.0 | 2023-09-09 | 30168 | Make start_date field optional |
1.5.1 | 2023-09-05 | 30142 | Handle non-JSON Response |
1.5.0 | 2023-09-04 | 30138 | Add new Streams: Article Votes , Article Comments , Article Comment Votes |
1.4.0 | 2023-09-04 | 30134 | Add incremental support for streams: custom Roles , Schedules , SLA Policies |
1.3.0 | 2023-08-30 | 30031 | Add new streams: Articles , Organization Fields |
1.2.2 | 2023-08-30 | 29998 | Fix typo in stream AttributeDefinitions : field condition |
1.2.1 | 2023-08-30 | 29991 | Remove Custom availability strategy |
1.2.0 | 2023-08-29 | 29940 | Add undeclared fields to schemas |
1.1.1 | 2023-08-29 | 29904 | make Organizations stream incremental |
1.1.0 | 2023-08-28 | 29891 | Add stream UserFields |
1.0.0 | 2023-07-27 | 28774 | fix retry logic & update cursor for Tickets stream |
0.11.0 | 2023-08-10 | 27208 | Add stream Topics |
0.10.7 | 2023-08-09 | 29256 | Update tooltip descriptions in spec |
0.10.6 | 2023-08-04 | 29031 | Reverted advancedAuth spec changes |
0.10.5 | 2023-08-01 | 28910 | Updated advancedAuth broken references |
0.10.4 | 2023-07-25 | 28397 | Handle 404 Error |
0.10.3 | 2023-07-24 | 28612 | Fix pagination for stream TicketMetricEvents |
0.10.2 | 2023-07-19 | 28487 | Remove extra page from params |
0.10.1 | 2023-07-10 | 28096 | Replace offset pagination with cursor pagination |
0.10.0 | 2023-07-06 | 27991 | Add streams: PostVotes , PostCommentVotes |
0.9.0 | 2023-07-05 | 27961 | Add stream: Post Comments |
0.8.1 | 2023-06-27 | 27765 | Bugfix: Nonetype error while syncing more then 100000 organizations |
0.8.0 | 2023-06-09 | 27156 | Add stream Posts |
0.7.0 | 2023-06-27 | 27436 | Add Ticket Skips stream |
0.6.0 | 2023-06-27 | 27450 | Add Skill Based Routing streams |
0.5.0 | 2023-06-26 | 27735 | License Update: Elv2 stream stream |
0.4.0 | 2023-06-16 | 27431 | Add Organization Memberships stream |
0.3.1 | 2023-06-02 | 26945 | Make Ticket Metrics stream to use cursor pagination |
0.3.0 | 2023-05-23 | 26347 | Add stream Audit Logs logs` |
0.2.30 | 2023-05-23 | 26414 | Added missing handlers when empty json or JSONDecodeError is received |
0.2.29 | 2023-04-18 | 25214 | Add missing fields to Tickets stream |
0.2.28 | 2023-03-21 | 24053 | Fix stream sla_policies schema data type error (events.value) |
0.2.27 | 2023-03-22 | 22817 | Specified date formatting in specification |
0.2.26 | 2023-03-20 | 24252 | Handle invalid start_date when checking connection |
0.2.25 | 2023-02-28 | 22308 | Add AvailabilityStrategy for all streams |
0.2.24 | 2023-02-17 | 23246 | Handle StartTimeTooRecent error for Tickets stream |
0.2.23 | 2023-02-15 | 23035 | Handle 403 Error |
0.2.22 | 2023-02-14 | 22483 | Fix test; handle 400 error |
0.2.21 | 2023-01-27 | 22027 | Set AvailabilityStrategy for streams explicitly to None |
0.2.20 | 2022-12-28 | 20900 | Remove synchronous time.sleep, add logging, reduce backoff time |
0.2.19 | 2022-12-09 | 19967 | Fix reading response for more than 100k records |
0.2.18 | 2022-11-29 | 19432 | Revert changes from version 0.2.15, use a test read instead |
0.2.17 | 2022-11-24 | 19792 | Transform ticket_comments.via "-" to null |
0.2.16 | 2022-09-28 | 17326 | Migrate to per-stream states. |
0.2.15 | 2022-08-03 | 15233 | Added subscription plan check on streams discovery step to remove streams that are not accessible for fetch due to subscription plan restrictions |
0.2.14 | 2022-07-27 | 15036 | Convert ticket_audits.previous_value values to string |
0.2.13 | 2022-07-21 | 14829 | Convert tickets.custom_fields values to string |
0.2.12 | 2022-06-30 | 14304 | Fixed Pagination for Group Membership stream |
0.2.11 | 2022-06-24 | 14112 | Fixed "Retry-After" non integer value |
0.2.10 | 2022-06-14 | 13757 | Fixed the bug with TicketMetrics stream, HTTP Error 429, caused by lots of API requests |
0.2.9 | 2022-05-27 | 13261 | Bugfix for the unhandled ChunkedEncodingError and ConnectionError |
0.2.8 | 2022-05-20 | 13055 | Fixed minor issue for stream ticket_audits schema |
0.2.7 | 2022-04-27 | 12335 | Adding fixtures to mock time.sleep for connectors that explicitly sleep |
0.2.6 | 2022-04-19 | 12122 | Fixed the bug when only 100,000 Users are synced 11895 and fixed bug when start_date is not used on user stream 12059. |
0.2.5 | 2022-04-05 | 11727 | Fixed the bug when state was not parsed correctly |
0.2.4 | 2022-04-04 | 11688 | Small documentation corrections |
0.2.3 | 2022-03-23 | 11349 | Fixed the bug when Tickets stream didn't return deleted records |
0.2.2 | 2022-03-17 | 11237 | Fixed the bug when TicketComments stream didn't return all records |
0.2.1 | 2022-03-15 | 11162 | Added support of OAuth2.0 authentication method |
0.2.0 | 2022-03-01 | 9456 | Update source to use future requests |
0.1.12 | 2022-01-25 | 9785 | Add additional log messages |
0.1.11 | 2021-12-21 | 8987 | Update connector fields title/description |
0.1.9 | 2021-12-16 | 8616 | Adds Brands, CustomRoles and Schedules streams |
0.1.8 | 2021-11-23 | 8050 | Adds TicketMetricEvents stream |
0.1.7 | 2021-11-23 | 8058 | Added support of AccessToken authentication |
0.1.6 | 2021-11-18 | 8050 | Fix wrong types for schemas, add TypeTransformer |
0.1.5 | 2021-10-26 | 7679 | Add ticket_id and ticket_comments |
0.1.4 | 2021-10-26 | 7377 | Fix initially_assigned_at type in ticket metrics |
0.1.3 | 2021-10-17 | 7097 | Corrected the connector's specification |
0.1.2 | 2021-10-16 | 6513 | Fixed TicketComments stream |
0.1.1 | 2021-09-02 | 5787 | Fixed incremental logic for the ticket_comments stream |
0.1.0 | 2021-07-21 | 4861 | Created CDK native zendesk connector |