Prerequisites
- An active Zendesk Support account
- Admin access to Zendesk and to AGO
Connect with OAuth
1
Create a confidential OAuth client
Follow Zendesk’s client credentials setup:
- Set Client type to Confidential. AGO connects with the client credentials flow, which Zendesk only allows for confidential clients: a Public client can’t connect.
- Leave Redirect URLs empty. AGO doesn’t need one.
- For Scopes, allow
read tickets:write ticket_attachments:write users:write organizations:write, or leave the field empty.
2
Find your Zendesk subdomain
Your subdomain is the part before
.zendesk.com. For example, in https://acme.zendesk.com, it is acme.3
Enter and test the credentials
Go to Support > Settings > Forms, select zendesk as the Active Ticketing System, and click the wrench icon (Configure ticketing system). Enter your subdomain in Zendesk domain, then the Client ID and Client secret under OAuth. Click Test connection in that section.The test uses what you typed without changing the live connection. Leave a saved secret blank to keep it.
4
Save
Click Save to switch to OAuth. AGO renews access tokens on its own.
API token connections
Connections that use an admin email and API token keep working until you switch to OAuth. Use OAuth for new connections. To go back from OAuth to an API token, clear Client ID and click Save. AGO needs an Admin email and API token: keep the saved ones or enter new ones before saving. The saved OAuth credentials are removed.Create a Ticket Form
- Go to Support > Settings > Forms and create a form for Zendesk
- Add your fields, or click Import a Zendesk form to rebuild an existing Zendesk form
- Map fields to Zendesk fields and groups, then save
To create tickets under a specific brand of a multi-brand Zendesk account, or to add the same tags to every ticket of a form, contact AGO support. To find a brand ID, open Admin Center > Account > Brand management, click the brand, and copy the number in the URL.
To pick the AGO form from tags on the user’s Zendesk profile, open a permission’s Ticket Instructions and add Zendesk user tags → ticket forms rows. See Select a form from Zendesk user tags.
What AGO Creates in Zendesk
When a user submits a ticket:- AGO checks that the user can create Zendesk tickets (see Who Can Create Tickets)
- A ticket is created with the subject, description, priority, type, custom fields, tags, group, brand, and attached files
- A private comment links to the AGO conversation. It can also include every field value and information from the user’s sign-in token, depending on your settings.
- Your AGO ticket triggers run, and Zendesk notifies your team as usual
Field Mapping
The requester’s name comes from the form fields set as first and last name, then from the user’s AGO profile, then from the part of the email address before the @.
Who Can Create Tickets
By default, only users who exist and are active in your Zendesk account can create tickets. AGO looks them up by email. To let any AGO user create tickets, including widget visitors without a Zendesk account, contact AGO support to allow all users. Zendesk then creates a new user from the email address. When a widget visitor hasn’t given an email address, AGO asks for it on the ticket form.Keep Your Native Help Center Form
If customers keep using your Zendesk Help Center form, your server can attach the resulting Zendesk ticket to the AGO conversation with the Public API linking endpoint. Send the conversation ID,ticketing_system: "zendesk", and the ticket’s external_id, with an AGO API key that has the conversations:write scope.
- Get the ticket ID from Zendesk and check it belongs to the conversation’s customer before calling AGO. AGO doesn’t verify the requester in Zendesk.
- Keep the API key on your server. The SDK has no browser endpoint for linking tickets.
- AGO imports the ticket’s subject, description, comments, status, assignee, and custom fields right after linking, even if Enable ticket sync is off. If that import fails, the link stays; send the same request again to retry.
- Linking doesn’t create another Zendesk ticket, run AGO’s ticket-creation triggers, or add the private comment with the conversation link. It works even when AGO’s own ticket creation is turned off.
Ticket Context for Agents
Turn on Ticket Context in an agent’s settings to give it summaries of the customer’s recent tickets.- The agent receives up to ten tickets, with subject, status, last update, and link. Closed tickets, descriptions, replies, and private notes aren’t included. Your days limit applies.
- For a signed-in customer whose email comes from your authentication (for example, a widget JWT), AGO also finds Zendesk tickets created outside AGO for that email. If the JWT has an
email_verifiedclaim, it must betrue. - For anonymous visitors, AGO uses only the tickets already linked to that visitor. Typing an email address in a ticket form doesn’t reveal other tickets for that address.
- New tickets can take a few minutes to appear in Zendesk search. If Zendesk can’t be reached, the agent is told the information may be out of date.
Ticket Sync
With Enable ticket sync turned on in the ticketing system configuration, AGO updates open Zendesk tickets every hour in its ticket list.- Comments from Zendesk agents show their name and an external-system badge. Private comments become internal notes.
- Internal notes you add in AGO stay in AGO.
- Sync Now on the tickets list skips closed and solved tickets. Open a linked ticket and choose Sync Now to refresh it individually, including after it has closed.
- A large sync can take several minutes.
Automatic Ticket Creation
In the ticketing system configuration, expand Automatic ticket creation and choose an Inactivity delay:- Disabled (default): no tickets are created automatically.
- 2, 4, 8 or 12 hours, or Every day (24 hours): AGO creates a solved Zendesk ticket for each conversation inactive for that long. If AGO handed the customer over to your support team during the conversation, for example because they asked for a human, and no ticket was submitted, the ticket is created open instead, so an agent can follow up.
Comments on Auto-Resolved Tickets
The Automatic ticket creation section also has these settings for tickets created directly as solved, whether automatically or manually from a conversation:- Auto-resolved ticket tag: a tag added to these tickets.
- Auto-resolved ticket assignee email: an existing Zendesk agent who receives them. Leave it blank to use your Zendesk assignment rules.
- Public reply on auto-resolved tickets (off by default): AGO writes a customer-facing reply from the visible conversation. Describe what you want in Public reply instructions (up to 10,000 characters); leave it blank for a short summary in the customer’s language. Formatting such as bold, lists, and links is kept. Zendesk triggers may email this reply to the requester. If AGO can’t write the reply, the ticket is created without it.
- Public reply instructions when a ticket was offered: used instead on a solved ticket when AGO offered a ticket during the conversation but none was submitted. Automatic ticket creation opens these conversations instead of solving them, so these instructions only apply when the AGO team creates a solved ticket for such a conversation at your request. Leave it blank to use the instructions above.
- Private conversation on auto-resolved tickets (off by default): copies the visible conversation into private comments on the ticket. Long conversations are split across several comments, each with a link to the full conversation in AGO. If the copy stops partway, the ticket stays and AGO tries to add a note with the conversation link.
Troubleshooting
If the problem persists, create a test ticket without custom fields or attachments, then contact AGO support with the error message. For field mapping and routing tips, see Ticketing Best Practices.
Related
- Ticketing: ticketing overview
- Ticket Form Customization: form fields and embedded forms
- Ticketing Connectors: compare the available connectors
- Zendesk Knowledge Base: import Help Center articles (separate from ticketing)
