library
turbot/zendesk
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create Ticket

Create a ticket.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run zendesk.pipeline.create_ticket \
--arg 'comment=<object>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = zendesk.pipeline.create_ticket
args = {
comment = <object>
}
}

Params

NameTypeRequiredDescriptionDefault
assignee_emailstringNoWrite only. The email address of the agent to assign the ticket to.-
assignee_idnumberNoThe agent currently assigned to the ticket.-
followerslist of objectNoWrite only. An array of objects that represent agent followers to add or delete from the ticket. See Setting followers.-
allow_channelbackboolNoIs false if channelback is disabled, true otherwise. Only applicable for channels framework ticket.-
is_publicboolNoIs true if any comments are public, false otherwise.-
raw_subjectstringNoThe dynamic content placeholder, if present, or the 'subject' value, if not. See Dynamic Content Items.-
satisfaction_ratingobjectNoThe satisfaction rating of the ticket, if it exists, or the state of satisfaction, 'offered' or 'unoffered'. The value is null for plan types that don't support CSAT.-
tagslist of stringNoThe array of tags applied to this ticket.-
via_idnumberNoWrite only. For more information, see the Via object reference.-
brand_idnumberNoEnterprise only. The ID of the brand this ticket is associated with.-
macro_idslist of numberNoPOST requests only. List of macro IDs to be recorded in the ticket audit.-
safe_updateboolNoWrite only. Optional boolean. When true and an update_stamp date is included, protects against ticket update collisions and returns a message to let you know if one occurs. See Protecting against ticket update collisions. A value of false has the same effect as true. Omit the property to force the updates to not be safe.-
subjectstringNoThe value of the subject field for this ticket.-
via_followup_source_idnumberNoPOST requests only. The ID of a closed ticket when creating a follow-up ticket. See Creating a follow-up ticket.-
voice_commentobjectNoWrite only. See Creating voicemail ticket.-
collaborator_idslist of numberNoThe IDs of users currently CC'ed on the ticket.-
from_messaging_channelboolNoIf true, the ticket's via type is a messaging channel.-
ticket_form_idnumberNoEnterprise only. The ID of the ticket form to render for the ticket.-
updated_stampstringNoWrite only. Datetime of last update received from API. See the safe_update property.-
commentobjectYesAn object that defines the properties of the ticket comment.-
allow_attachmentsboolNoPermission for agents to add attachments to a comment. Defaults to true.-
group_idnumberNoThe group this ticket is assigned to.-
descriptionstringNoRead-only first comment on the ticket. When creating a ticket, use comment to set the description. See Description and first comment.-
metadatamap of dynamicNoWrite only. Metadata for the audit. In the audit object, the data is specified in the custom property of the metadata object. See Setting Metadata.-
requesterobjectNoWrite only. See Creating a ticket with a new requester.-
followup_idslist of numberNoThe IDs of the followups created from this ticket. IDs are only visible once the ticket is closed.-
viaobjectNoFor more information, see the Via object reference.-
custom_status_idnumberNoThe custom ticket status ID of the ticket. See custom ticket statuses.-
follower_idslist of numberNoThe IDs of agents currently following the ticket. See CCs and followers resources.-
urlstringNoThe API URL of this ticket.-
collaboratorslist of objectNoPOST requests only. Users to add as CC's when creating a ticket. See Setting Collaborators.-
sharing_agreement_idslist of numberNoThe IDs of the sharing agreements used for this ticket.-
due_atstringNoIf this is a ticket of type 'task', it has a due date. Due date format uses ISO 8601 format.-
prioritystringNoThe urgency with which the ticket should be addressed. Allowed values are 'urgent', 'high', 'normal', or 'low'.-
attribute_value_idslist of numberNoWrite only. An array of the IDs of attribute values to be associated with the ticket.-
custom_fieldslist of objectNoCustom fields for the ticket. See Setting custom field values.-
recipientstringNoThe original recipient e-mail address of the ticket. Notification emails for the ticket are sent from this address.-
updated_atstringNoWhen this record last got updated.-
email_ccslist of objectNoWrite only. An array of objects that represent agent or end users email CCs to add or delete from the ticket. See Setting email CCs.-
typestringNoThe type of this ticket. Allowed values are 'problem', 'incident', 'question', or 'task'.-
forum_topic_idnumberNoThe topic in the Zendesk Web portal this ticket originated from, if any. The Web portal is deprecated.-
problem_idnumberNoFor tickets of type 'incident', the ID of the problem the incident is linked to.-
submitter_idnumberNoThe user who submitted the ticket. The submitter always becomes the author of the first comment on the ticket.-
email_cc_idslist of numberNoThe IDs of agents or end users currently CC'ed on the ticket. See CCs and followers resources in the Support Help Center.-
ticket_idnumberNoAutomatically assigned when the ticket is created.-
requester_idnumberNoThe user who requested this ticket.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
external_idstringNoAn ID you can use to link Zendesk Support tickets to local records.-
macro_idnumberNoWrite only. A macro ID to be recorded in the ticket audit.-
created_atstringNoWhen this record was created.-
has_incidentsboolNoIs true if a ticket is a problem type and has one or more incidents linked to it. Otherwise, the value is false.-
organization_idnumberNoThe organization of the requester. You can only specify the ID of an organization associated with the requester. See Organization Memberships.-
statusstringNoThe state of the ticket. If your account has activated custom ticket statuses, this is the ticket's status category. See custom ticket statuses. Allowed values are 'new', 'open', 'pending', 'hold', 'solved', or 'closed'.-

Outputs

NameDescription
ticketThe ticket that has been created.