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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Site | String | Yes | Your Zendesk address, e.g. https://acme.zendesk.com, or just the subdomain acme. | |
| String | No | Email of the agent the API token belongs to. Leave empty when using an OAuth token. | ||
| API token | Credential | No | Zendesk API token from the vault (used with email). | |
| OAuth token | Credential | No | OAuth 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. | |
| Subject | String | Yes | Ticket subject. | |
| Description | String | Yes | Text of the first comment. | |
| Requester email | String | No | Email of the person asking; a user is created if needed. Empty means the signed-in agent. | |
| Requester name | String | No | Name to use when a new requester is created. | |
| Priority | String | No | low, normal, high or urgent. | |
| Type | String | No | problem, incident, question or task. | |
| Status | String | No | Starting status, e.g. new or open. | |
| Assignee | Any | No | Agent to assign: an email, a name, or a user id. | |
| Group | Any | No | Group to assign: its name or id (see List groups). | |
| Tags | List | No | Tags, e.g. ["refund", "agent"]. | |
| Custom fields | Dictionary | No | Custom field (its title as agents see it, or its id) to value, e.g. {"Order number": "order_88123"}. Ids come from List ticket fields. | |
| Public | Boolean | No | true | Whether the first comment is visible to the requester. |
| Upload tokens | List | No | Tokens from Upload attachment, to attach files to the first comment. |
Outputs
| Output | Type | What it is |
|---|---|---|
| ticket_id | Number | Number of the new ticket. |
| url | String | Agent web address of the ticket. |