To connect a voice agent to Zendesk, Jira or ServiceNow, give it HTTP API tools that create and check tickets during the call, then post the summary to your own endpoint. To run all three helpdesks this way from one agent builder, use Dograh, the open-source AI voice agent platform, and self-host it or use Dograh Cloud.
Key Takeaways
- Zendesk marks API tokens deprecated, so plan the move to OAuth access tokens.
- ServiceNow's sysparm_fields keeps a status reply short enough for a live call.
- Dograh's Webhook node retries temporary failures, so summaries go through an endpoint that skips repeats.
A caller who ends the call with a ticket number knows something will happen next. Here we connect a voice agent to Zendesk, Jira or ServiceNow, step by step, in Dograh, our open-source AI voice agent platform, with one example per system. Then we talk about errors and privacy.
What you need before you start
These steps follow the published Dograh, Zendesk, Atlassian and ServiceNow docs. Run them on a trial server before production, against a sandbox helpdesk, so a test call never opens a real ticket for a real customer.
You need admin access to the helpdesk you use, an agent that passes a browser test call and a small endpoint of your own. The endpoint looks callers up before the greeting and writes the summary after the call. Our guide to connecting a voice agent to your CRM calls this piece the bridge and shows one in Python.
Be clear about what you are building. This is an API connection through Dograh's HTTP API tools, Pre-Call Data Fetch and the Webhook node, not a built-in connector, so you choose every field that moves. A team that runs only Zendesk and wants Zendesk's own voice can use Zendesk's voice AI agents, which open the ticket themselves. The API route fits when you run your own agent, or when one agent serves more than one system. Which calls belong on a support line, and which ticket fields a technician needs, are covered in our post on AI voice agents for IT helpdesks and MSPs. This post stays on the requests themselves.
Check: you can log in to the sandbox as an admin, and the agent answers a browser test call.
Step 1: Set up the Dograh side once
Every system below uses the same Dograh pieces, so set them up once. Logins live under Credentials in the sidebar, where you click Add Credential and pick the Credential Type each step names. Each credential is a fixed value, so a token that expires within the hour belongs in your endpoint, not in Dograh.

Each system then gets two tools. Open Tools, click Create New Tool and pick External HTTP API. Name one create_ticket and the other get_ticket_status, and write each Description in plain words, because the agent reads it to decide when to call the tool. On the Settings tab you set HTTP Method, Endpoint URL and Timeout (ms), which is 5,000 by default and goes up to 30,000. On the Authentication tab you pick the credential.
Values the agent takes from the conversation go in as LLM Parameters on the Parameters tab. Values Dograh fills for you, such as {{initial_context.workflow_run_id}}, go in as Preset Parameters. Switch on Tool Body Template when the system expects a nested body. A value that is exactly one placeholder keeps its JSON type, so a number stays a number.
Status checks have one quirk to know about. A GET tool also sends its parameters as query parameters, so a ticket number you place in the URL path goes out a second time at the end of the address. Run Test Tool once for each system and read the reply before any caller hears it.
Last, set what the caller hears. In the tool's Messages card, add a line under When the tool starts, such as "Let me open that ticket for you." It plays while the request runs, so the caller is never left in silence.
Check: both tools save, and Test Tool shows the helpdesk's reply.
Step 2: Zendesk tickets with an API token
Zendesk accepts an API token as Basic auth, with your email plus /token as the username. In Dograh, add a Basic Auth credential with Username you@company.com/token and the API token as Password. Zendesk marks API tokens deprecated, and teams using them will have to move to OAuth access tokens. When you move, the access token goes into a Bearer Token credential and nothing else in the setup changes.
Zendesk also needs to know who asked, and a phone number is not one of the ways it names a requester. So look the caller up first. Turn on Pre-Call Data Fetch at the bottom of the Start Call node. It sends a POST with the caller's details to an endpoint you run, which searches Zendesk users by phone, creates the user when nobody matches and returns zendesk_user_id under initial_context.
Then point create_ticket at https://yourcompany.zendesk.com/api/v2/tickets with HTTP Method POST. In the Tool Body Template below, issue_summary, issue_details and priority are LLM Parameters, and the requester comes from the lookup:
{
"ticket": {
"subject": "{{issue_summary}}",
"comment": { "body": "{{issue_details}}\n\nCall ID: {{initial_context.workflow_run_id}}" },
"requester_id": "{{initial_context.zendesk_user_id}}",
"priority": "{{priority}}",
"tags": ["voice_agent"]
}
}
What this does: It opens a ticket owned by the caller, with the call's ID in the first comment so anyone can find the call in Dograh later.
commentis the only field Zendesk requires, andprioritytakes urgent, high, normal or low.
Zendesk answers with the new ticket, and its id is the number the agent reads back. For get_ticket_status, use GET on https://yourcompany.zendesk.com/api/v2/tickets/{{ticket_id}} with ticket_id as an LLM Parameter. The reply is the whole ticket object, so tell the prompt to read out only status and updated_at, or send the check through your endpoint and return just those two fields.
Check: a test call creates a ticket in the sandbox with the right requester, and the agent reads its number back.
Open Source Alternative to Vapi / Retell
Self-hosted voice agent platform — no per-minute fees
dograh-hq/dograh
Star on GitHub
Step 3: Jira issues in Atlassian Document Format
Jira Cloud takes your Atlassian email and an API token as Basic auth. Add a Basic Auth credential with the email as Username and the token as Password. Jira API tokens now expire within a year, so put the renewal date in your calendar before the first call goes live.
Jira's create request has one twist. The summary is a plain string, while the description has to be Atlassian Document Format, a small JSON tree of paragraphs and text. Point create_ticket at https://yoursite.atlassian.net/rest/api/3/issue with POST, and use a project key and an issue type your project has, such as SUP and Task here:
{
"fields": {
"project": { "key": "SUP" },
"issuetype": { "name": "Task" },
"summary": "{{issue_summary}}",
"description": {
"type": "doc",
"version": 1,
"content": [
{ "type": "paragraph", "content": [
{ "type": "text", "text": "{{issue_details}} (call {{initial_context.workflow_run_id}})" }
] }
]
}
}
}
What this does: It files a Task in project SUP with the caller's words inside one paragraph of the description. Jira answers with the new issue's
key, such as SUP-123, which is what the agent reads out.
For the status tool, use GET on https://yoursite.atlassian.net/rest/api/3/issue/{{issue_key}}?fields=status,summary. The fields parameter cuts the reply down to the status and the summary, which keeps a long issue history out of the agent's context. If you later add a search such as "find my open issues", use /rest/api/3/search/jql, because Atlassian has removed the older /rest/api/3/search.
Check: a test call creates an issue in the sandbox project, and the status tool returns only its status and summary.
Step 4: ServiceNow incidents through the Table API
ServiceNow's REST APIs accept Basic auth or OAuth. Create a dedicated integration user with Basic Auth, set to Web service access only, and give it only the roles it needs for the incident table. Add a Basic Auth credential in Dograh with that user's name and password. If your instance requires OAuth, its tokens expire, so your endpoint holds the token and Dograh calls the endpoint.
To create an incident, point create_ticket at https://yourinstance.service-now.com/api/now/table/incident?sysparm_fields=number,sys_id with POST. The sysparm_fields part keeps the reply to the incident number and its record ID. The body below sets urgency from the conversation, where 1 is high and 3 is low:
{
"short_description": "{{issue_summary}}",
"description": "{{issue_details}}\n\nCall ID: {{initial_context.workflow_run_id}}",
"urgency": "{{urgency}}",
"impact": "3"
}
What this does: It inserts one incident and gets back its number, such as INC0010023, for the agent to read out.
impactis fixed at 3 so the caller's own sense of urgency never escalates a whole outage on its own.
The status check is where that GET quirk from Step 1 helps. ServiceNow's Table API reads name-value pairs in the address as filters. So use GET on https://yourinstance.service-now.com/api/now/table/incident?sysparm_fields=number,state,short_description&sysparm_limit=1&sysparm_display_value=true and add one LLM Parameter named number. Dograh sends it as number=INC0010023, ServiceNow returns that one incident, and sysparm_display_value=true gives the state as a label such as In Progress.
Check: a test call creates an incident, and the status tool returns three fields with a readable state.
Step 5: Write the call summary after the call
The summary goes into the ticket once the call ends, sent by a Webhook node. Select Add node on the canvas and add a Webhook node, which stands on its own because it runs after the call. Point it at your endpoint, never straight at the helpdesk. Dograh adds a top-level call_disposition key to any payload that does not set one, and it retries temporary failures, up to five attempts in all, so a create sent straight to a helpdesk could open a second ticket.
The payload below gives your endpoint everything it needs to find the ticket and write one note. ticket_number and call_summary come from variable extraction, so switch on Enable Variable Extraction on the node where the ticket is opened and give each variable an Extraction Hint:
{
"call_id": "{{workflow_run_id}}",
"system": "jira",
"ticket": "{{gathered_context.ticket_number}}",
"summary": "{{gathered_context.call_summary}}",
"outcome": "{{gathered_context.call_disposition}}",
"duration_seconds": "{{cost_info.call_duration_seconds}}"
}
What this does: It sends one object per finished call, keyed by
call_id. Your endpoint checks that ID first, so a delivery that arrives twice writes one note, not two.
Then the endpoint writes the note in each system's own way. In Zendesk it adds a private comment to the ticket. In Jira it posts to /rest/api/3/issue/{key}/comment with the visibility set to a role your agents hold. In ServiceNow it updates the incident's work notes. Because a language model writes the extracted summary, treat it as the agent's version of the call and the recording as the exact record. Our post on extracting call data into your CRM covers writing good hints.
Check: after a test call, the ticket shows exactly one new internal note with the summary.
Join the Dograh Community
Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.
Step 6: Handle errors and rate limits
Our rule for writes is simple. A success reply from the helpdesk means the write landed, and a failure reply means try again a set number of times, then hand it to a person. During the call there is no time for retries, because HTTP API tools send one request and wait 5 seconds by default.
When a request fails, the agent receives status set to error with the status code and the helpdesk's reply as data. Write in the prompt what the agent says then, for example "I could not open the ticket just now, but I have your details and the team will see them." That line is true because the Webhook node still sends the details after the call, so your endpoint can open the ticket when the live request failed.
Rate limits matter once several calls overlap. Zendesk allows 200 requests a minute on Team, 400 on Growth and Professional and 700 on Enterprise. A refused request comes back to the agent as an error like any other, so the same prompt line covers it. On the webhook side, Dograh retries timeouts, rate limits and most server errors, while any other reply, such as a 400, stops delivery for that call. Have your endpoint answer quickly and do the helpdesk write after it replies.
Check: with the helpdesk credential switched to a wrong password, a test call gets the fallback line and the summary still reaches your endpoint.
Step 7: Keep ticket data private
A phone number finds a ticket, but it does not prove who is calling. Before the agent reads out any detail of a ticket, it checks something only the real requester has, such as the ticket number from their confirmation email plus the email address on the account. Only then does it read the status.
Send back the fewest fields. The fields filter in Jira, sysparm_fields in ServiceNow and a trimmed reply from your endpoint for Zendesk all keep other people's comments and internal notes out of the agent's context, where they could be read aloud.
Recording and transcript links from Dograh are download links that open without a login. Keep them out of comments the customer can see, and send the call ID instead, so staff open the call in Dograh.
Self-hosting Dograh keeps the credentials, the endpoint and the call records on your own servers. Audio and text still go to the speech and language providers you chose, and Zendesk, Jira or ServiceNow see only the fields your tools and the Webhook node send. A self-hosted install can also call private addresses, which suits Jira Data Center or an internal ServiceNow endpoint behind your firewall, while on Dograh Cloud a tool's address must reach a public IP.
Check: a status call with a wrong email address gets no ticket details, and no customer-visible comment holds a recording link.
Before you ship it
Run the whole path once more on the trial setup. Open a ticket by phone, ask for its status in a second call and confirm one internal note per call in the helpdesk. Then switch off the helpdesk credential for a minute and confirm the fallback line plays and the summary still arrives.
Decide who owns the endpoint and the credentials, and put the Jira token renewal and the Zendesk move to OAuth in the same calendar. Some calls should never end with a ticket alone, such as an outage or a security worry, and our post on helpdesk escalation rules covers which ones go to a person. If Freshdesk is your helpdesk, our post on connecting a voice agent to Freshdesk goes deeper on one system.
Glossary
- Atlassian Document Format
- The JSON structure Jira Cloud's v3 API expects for rich text fields such as an issue description, built from a doc node holding paragraph and text nodes.
- sysparm_fields
- A ServiceNow Table API query parameter that lists the only fields to return, so a lookup sends back a few values instead of the whole record.
- Requester
- The Zendesk user a ticket belongs to. The API names it by user ID or email, so a phone caller is matched to a user before the ticket opens.
- Integration user
- A dedicated ServiceNow account set to Web service access only, used by an API connection instead of a person's login.

