Skip to main content

Create ticket

Open a ticket with a first comment, requester, priority, tags and custom fields.

Command in the Zendesk toolkit · id ooa.zendesk/create_ticket · 17 inputs (3 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SiteStringYesYour Zendesk address, e.g. https://acme.zendesk.com, or just the subdomain acme.
EmailStringNoEmail of the agent the API token belongs to. Leave empty when using an OAuth token.
API tokenCredentialNoZendesk API token from the vault (used with email).
OAuth tokenCredentialNoOAuth access token from the vault, instead of email and API token. Or leave it empty and choose a connection that signs in, which gets and renews the token.
SubjectStringYesTicket subject.
DescriptionStringYesText of the first comment.
Requester emailStringNoEmail of the person asking; a user is created if needed. Empty means the signed-in agent.
Requester nameStringNoName to use when a new requester is created.
PriorityStringNolow, normal, high or urgent.
TypeStringNoproblem, incident, question or task.
StatusStringNoStarting status, e.g. new or open.
AssigneeAnyNoAgent to assign: an email, a name, or a user id.
GroupAnyNoGroup to assign: its name or id (see List groups).
TagsListNoTags, e.g. ["refund", "agent"].
Custom fieldsDictionaryNoCustom field (its title as agents see it, or its id) to value, e.g. {"Order number": "order_88123"}. Ids come from List ticket fields.
PublicBooleanNotrueWhether the first comment is visible to the requester.
Upload tokensListNoTokens from Upload attachment, to attach files to the first comment.

Outputs​

OutputTypeWhat it is
ticket_idNumberNumber of the new ticket.
urlStringAgent web address of the ticket.