Connect data / Integrations
Zammad
Connect Zammad to report on your service desk. The connection is read-only and works with Zammad Cloud and self-hosted Zammad that’s reachable over public HTTPS. Private or firewall-only instances aren’t supported, and Zammad can’t connect through a sync agent.
Before you start
Section titled “Before you start”You need:
- A dedicated Zammad service user, rather than a person’s account.
- Agent access for that user to every group whose tickets you want in Resplendent.
- The
ticket.agentpermission, plususer_preferences.access_tokenwhile you create the token. - A public Instance URL with a certificate from a standard public certificate authority.
Permissions
Section titled “Permissions”Give the service user’s role only what your Datasets need.
| Permission | Required? | What it enables |
|---|---|---|
ticket.agent |
Yes | Tickets, tags, history, articles, time accounting, users, organizations, states and priorities |
admin.group |
Optional | The Groups Dataset |
admin.sla |
Optional | The SLAs Dataset |
admin.role |
Optional | The Roles Dataset |
admin.calendar |
Optional | The Calendars Dataset |
admin.audit_log |
Optional | The Audit Logs Dataset |
admin.object |
Optional | Custom-field definitions and select options when Eric inspects the source |
Zammad only returns records the token’s user can see, so the user also needs read access to the right groups. If the user can’t open a ticket in Zammad, Resplendent can’t sync it either.
A missing optional permission doesn’t break the connection. The affected Dataset shows a warning, and everything else keeps syncing. Custom fields on tickets, users, organizations and groups sync without admin.object; it only adds field definitions when Eric inspects the source.
See Zammad’s permission reference and group access levels.
Create the service user and token
Section titled “Create the service user and token”- In Zammad, open Admin → Manage → Roles and create a role for Resplendent with
ticket.agent. - Add
admin.group,admin.sla,admin.role,admin.calendaroradmin.audit_logonly for the optional Datasets you want. - Give the role read access to the groups you want in reporting.
- Create or choose a dedicated service user and assign it the role.
- Sign in to Zammad as the service user, open the profile from the avatar menu, and select Token Access.
- Create a token named
Resplendent Datawithticket.agentand any optional permissions you chose. - Set an expiry that matches your rotation policy.
- Copy the token. Zammad shows it only once.
Use an API access token, not a Zammad password or an OAuth token. See Zammad’s API authentication guide.
Connect Zammad in Resplendent
Section titled “Connect Zammad in Resplendent”- Open Settings → Integrations, find Zammad and click Connect.
- Enter the Instance URL: the public HTTPS root of your Zammad, such as
https://support.example.com. Leave off/api/v1, credentials, query strings and fragments. - Enter the Access Token and a Connection Title.
- Click Save & Test. The test reads a few tickets to prove the token works.
- When the test passes, click Sync Dataset and choose the Datasets and columns to sync.
Each Dataset then syncs on its own and reports its own permission errors. The Instance URL must resolve only to public addresses, and any redirect must stay on the same HTTPS address.
Datasets
Section titled “Datasets”Your plan’s refresh limit can make the actual interval longer. Every Dataset is also rebuilt each night, which is how rows deleted in Zammad leave Resplendent.
| Dataset | Needs | Daytime sync |
|---|---|---|
| Tickets | ticket.agent |
Every 5 minutes, incremental |
| Ticket Articles | ticket.agent |
Every 5 minutes, incremental |
| Ticket Tags | ticket.agent |
Every 5 minutes, incremental |
| Ticket History | ticket.agent |
Every 5 minutes, incremental |
| Time Accounting | ticket.agent |
Every 15 minutes, incremental |
| Users | ticket.agent |
Hourly, incremental |
| Organizations | ticket.agent |
Hourly, incremental |
| Ticket States | ticket.agent |
Daily, full |
| Ticket Priorities | ticket.agent |
Daily, full |
| Groups | admin.group |
Daily, full |
| SLAs | admin.sla |
Daily, full |
| Roles | admin.role |
Daily, full |
| Calendars | admin.calendar |
Daily, full |
| Audit Logs | admin.audit_log |
Hourly, incremental |
History loads in batches after the first sync, up to Zammad’s 100-record page. For Ticket Tags and Ticket History the batch counts tickets, and each batch keeps every tag or history event for those tickets. A resync replaces the Dataset with its first batch and then reloads history, so reports can show fewer rows for a while. Set the Dataset’s history wide enough to cover the records you need.
If you switch an incremental Dataset such as Users to snapshot syncing, each refresh holds only one batch, at most 100 records. To keep more users, leave it incremental and raise its history instead; Batch Size sets each transfer, not how much history you keep. Ticket Tags and Ticket History batch by ticket, so their snapshots can hold more than 100 rows.
A closed ticket isn’t a deleted one. Closed tickets and inactive users, organizations and lookup values stay while Zammad still returns them. Because each Dataset rebuilds on its own each night, related Datasets can briefly disagree while history reloads. A tag that’s removed or renamed can linger until Ticket Tags next rebuilds.
Calendars are the business-hour calendars Zammad uses for SLAs, with timezone, weekday hours, public holidays and iCal URL. The SLAs Dataset stores each SLA’s Calendar ID.
Ticket Articles and sensitive content
Section titled “Ticket Articles and sensitive content”Ticket Articles includes public replies and internal notes the service user can see; the internal column tells them apart. Internal notes can be sensitive, so limit the user’s group access and choose columns deliberately.
| Column | What it holds |
|---|---|
body |
The article content |
body_text |
A plain-text version for search and analysis |
body_truncated, original_body_length |
Whether body was shortened, and its original length |
body_text_truncated, original_body_text_length |
The same for body_text |
Both content columns hold up to 32,000 Unicode characters. Longer content ends in an ellipsis and sets its truncation flag. To keep message content out of Resplendent, leave body and body_text unselected; you can still report on direction, sender, recipient, subject, timestamps and whether an article is internal.
Attachments are metadata only: ID, filename, size, content type and count. Resplendent doesn’t download attachment files, inline images or other attachment contents, and doesn’t add attachment links.
Ticket Tags
Section titled “Ticket Tags”Ticket Tags has one row per ticket and tag, with a relationship ID, the Ticket ID, the tag text and the ticket’s update time. The Ticket ID and tag link to the ticket in Zammad. Tag text holds up to 32,000 Unicode characters; longer tags end in an ellipsis, set tag_truncated, and keep the source length in original_tag_length.
Ticket History
Section titled “Ticket History”Ticket History has one row per direct ticket event, such as creation and changes to state, owner, group or priority. Article events aren’t included.
| Zammad field | Column | Use |
|---|---|---|
id, ticket_id |
History ID, Ticket ID | The event and its ticket |
type, attribute |
Event Type, Changed Attribute | What kind of change, and which field. State changes have attribute = 'state' |
id_from, id_to |
Previous Value ID, New Value ID | Stable IDs for state, owner, group or priority changes |
value_from, value_to |
Previous Value, New Value | Readable values at the time of the change |
created_at |
Changed At | When it happened, in UTC |
created_by_id |
Changed By User ID | Who made the change |
sourceable_type, sourceable_id, sourceable_name |
Change Source Type, Change Source ID, Change Source Name | The trigger, scheduler or other source of the change |
ticket_created_at |
Ticket Created At | When the ticket was created, for its first status interval |
ticket_updated_at |
Ticket Updated At | When the ticket last changed |
To measure time in a status, filter to attribute = 'state' and order each ticket’s events by Changed At, then History ID. Each New Value ID starts an interval that ends at the next state change; use the current time for one still open, and add up separate intervals when a ticket returns to a status. For the first interval, use Ticket Created At and the first event’s Previous Value ID. A ticket with no state changes takes its current state from Tickets. These are elapsed times; business-hours durations need the right calendar.
Audit Logs
Section titled “Audit Logs”Audit Logs records administrative and security changes: who did what, to which object, the old and new values, and the source IP. It needs admin.audit_log and a Zammad version with the audit log API; if either is missing, the preview shows a warning. Entries from background jobs can have no user or IP.
| Zammad field | Column | What it holds |
|---|---|---|
id |
Audit Log ID | The entry |
user_id, user_fullname |
User ID, User Full Name | Who made the change, when known |
action_type |
Action Type | Create, update, delete or session takeover |
auditable_type, auditable_type_label |
Auditable Type, Auditable Type Label | The kind of object, and its readable name |
auditable_id, auditable_name |
Auditable ID, Auditable Name | The object that changed |
value_from, value_to |
Value From, Value To | Old and new values, as JSON text |
source_ip, preferences |
Source IP, Preferences | Where the request came from, and entry details as JSON |
created_at, updated_at |
Created At, Updated At | Entry times in UTC |
Zammad deletes audit entries after 12 months, and the next resync removes them from the Dataset too.
Troubleshooting
Section titled “Troubleshooting”| Problem | What it means | What to do |
|---|---|---|
| Invalid credentials | Zammad rejected the token | Create or rotate the service user’s token and update Access Token. Don’t use a password or OAuth token |
| Missing core permission | The token can’t read tickets; the connection says ticket.agent is required |
Add ticket.agent to the role and token, confirm group access, and test again |
| Missing optional permission | An optional Dataset shows a warning naming its permission | Add that permission if you need the Dataset, or leave it unselected |
| Unsafe URL | The URL isn’t HTTPS, includes credentials or a query, resolves to a private address, or redirects elsewhere | Enter the public root URL only |
| TLS failure | The certificate couldn’t be validated | Install a certificate with a complete chain from a public certificate authority |
| Network failure | DNS failed, the host couldn’t be reached, or requests timed out after retries | Check public DNS, firewall rules and that Zammad is up, from outside your network |
| Throttling | Zammad kept returning HTTP 429 after retries | Reduce other API traffic; the next scheduled sync retries |
| Unsupported response shape | Zammad returned data Resplendent doesn’t recognize | Contact support with the Dataset name, Zammad version and time. Don’t send response bodies with ticket content |
| Zammad server error | Zammad kept returning HTTP 5xx after retries | Check Zammad’s health, then let the next sync retry. Data already synced stays |
When you contact support, share the Dataset, the approximate time, your Zammad version and the error shown. Never share the token, article bodies, attachments or raw responses with customer data.