This action requires that you have an active integration with Zendesk.
Create a new ticket in Zendesk with configurable information.
This action type has several settings.
The email address to use for the ticket's requester information in Zendesk. There are multiple options described below.
Customer email (Default)
If a form with a "Customer email" field has been filled in, use the email address from that field.
Logged in user's email
If the user has logged in to Mavenoid to access this flow, use the email address on their Mavenoid account.
Email address
A specific email address. If this option is selected, you must also specify the email address to use.
Markup
Text in which any markup will be evaluated. If this option is selected, you must also specify the markup text to be evaluated.
This can be useful for using an email address stored in other form data. For example, if you've determined the user's region and have their regional technician's email stored as form data with the key "regional-technician-email", you can specify the markup text as {{regional-technician-email}}
. The Zendesk ticket will then use the address associated with that key as the requester email.
See Markup expressions and operators for more information on markup syntax.
The name to use for the ticket's requester information in Zendesk. There are multiple options described below.
Logged in user's email
If the user has logged in to Mavenoid to access this flow, use the name on their Mavenoid account.
Text (Default)
A specific name. If this option is selected, you must also specify the name to use.
Markup
Text in which any markup will be evaluated. If this option is selected, you must also specify the markup text to be evaluated.
This can be useful for using a name stored in form data. For example, if the user has provided their name in a form and it is stored with the key "customer-name", you can specify the markup text as {{customer-name}}
. The Zendesk ticket will then use the value associated with that key as the requester name.
See Markup expressions and operators for more information on markup syntax.
The subject of the Zendesk ticket. There are multiple options described below.
Problem description (Default)
If the conversation has included a search node and the user performed a search, the most recent search performed is used.
Free text
Any specific text. If this option is selected, you must also specify the text to use.
Markup
Text in which any markup will be evaluated. If this option is selected, you must also specify the markup text to be evaluated.
This can be useful for basing the subject on form data values. For example, if you want the subject to be "Request submitted:" followed by the value associated with the form data key "request-type", you can specify the markup test as "Request submitted: {{request-type}}
".
This field also has access to the reserved form data key $transcript
. You can thus use {{$transcript["subject"]}}
for the "problem description" (the last search performed by the user) or {{$transcript["body"]}}
for the full text of the transcript of the conversation.
See Markup expressions and operators for more information on markup syntax.
The body of the Zendesk ticket. There are multiple options described below.
HTML transcript
The full transcript of the conversation and all form data that is not marked as PII, formatted as HTML.
If this option is selected, you must also specify whether to include live support messages (defaults to yes) and live support agent notes (defaults to no) from any live support chats that occurred as part of this conversation. When making this decision, consider who will receive the Zendesk ticket and whether it will generate any customer-facing communication (such as from notifications or replies in Zendesk).
Text transcript (Default)
The full transcript of the conversation and all form data that is not marked as PII, formatted as plain text.
If this option is selected, you must also specify whether to include live support messages (defaults to yes) and live support agent notes (defaults to no) from any live support chats that occurred as part of this conversation. When making this decision, consider who will receive the Zendesk ticket and whether it will generate any customer-facing communication (such as from notifications or replies in Zendesk).
Free text
Any specific text. If this option is selected, you must also specify the text to use.
Markup
Text in which any markup will be evaluated. If this option is selected, you must also specify the markup text to be evaluated.
This can be useful for basing the ticket contents on form data values. For example, if you want the ticket to read "User <CUSTOMER_EMAIL>
has filed a <REQUEST_TYPE>
request" with the placeholders replaced by the values associated with the form data keys "email" and "request-type", you can specify the markup text as "User {{email}}
has filed a {{request-type}}
request".
This field also has access to the reserved form data key $transcript
. You can thus use {{$transcript["subject"]}}
for the "problem description" (the last search performed by the user) or {{$transcript["body"]}}
for the full text of the transcript of the conversation.
See Markup expressions and operators for more information on markup syntax.
Note: Unlike many other fields, markdown in this field will not be parsed. If you need to format the contents of your Zendesk ticket, use HTML tags.
Any tags to be applied to the Zendesk ticket.
Tags can use markup to reference form data values. For example, to apply a tag based on the value associated with the form data key "request-type", enter {{request-type}}
as the value.
See Markup expressions and operators for more information on markup syntax.
Default: None, meaning no tags will be set on the created ticket.
Any files to be attached to the Zendesk ticket.
Files can use markup to reference form data values. For example, to attach the files the user has uploaded in a form associated with the key "screenshots", enter {{screenshots}}
as the value.
See Markup expressions and operators for more information on markup syntax.
Default: None, meaning no files will be attached to the created ticket.
Any custom fields to be set on the Zendesk ticket.
For each custom field, you must specify both a key and a value. The key must be the numeric ID of the custom field in Zendesk. The value can be plain text or can use markup to reference form data values. For example, to set a custom field based on the value associated with the form data key "request-type", enter {{request-type}}
as the value.
See Markup expressions and operators for more information on markup syntax.
Default: None, meaning no custom fields will be set on the created ticket.
What status the Zendesk ticket will be set to when created.
This will depend on your Zendesk workflow. For example, if you are using this action to file escalated tickets that require further action, you may wish to use "new" or "open". If instead you are using this action to file resolved tickets for your metrics or reference, you may wish to use "solved" or "closed".
Default: Unset.
The numeric ID of a Zendesk brand. The created ticket will be associated with the specified brand.
This is only necessary if you are using Zendesk Multibrand.
Default: None, meaning the created ticket will be associated with your default brand in Zendesk.
The numeric ID of a Zendesk group. If set, the created ticket will be automatically assigned to that group.
Default: None, meaning the created ticket will not automatically be assigned to a group by Mavenoid. It may still be automatically assigned by triggers in Zendesk.
The numeric ID of a ticket form in Zendesk. If set, the created ticket will use the associated form and display that form's ticket fields.
Default: None, meaning the created ticket will use your default ticket form.
What form data to set based on Zendesk's response. This data can be used by other nodes later in the flow, will be included in the conversation transcript, and is viewable on the agent dashboard if the conversation includes a live chat.
Like a write data node, you can add any number of form data assignments for this action to perform. For each one, you must specify the key to update and the value to set it to. Note that all values are treated as already being in double-curly-braces, meaning that to reference the key name
you would enter "name" instead of {{name}}
.
All normal form data keys and all global reserved form data keys are available. Additionally, the following limited reserved form data keys are available, allowing you to set values dynamically based on the response from Zendesk:
$error
: If the Zendesk API returned a failure message, it will be available with this key.
$ticketId
: The numeric ID of the created Zendesk ticket.
Default: None, meaning no form data will be set.
How long to wait after reaching this node before creating the Zendesk ticket.
This provides a grace period during which the user can reach this node and then go back to an earlier point in the flow, such as because they have changed their mind or they realized they have provided incorrect information and want to update it. If the user backs through the node before the delay has elapsed, the Zendesk ticket will not be created, preventing superfluous or unintended tickets.
Note: If there are form data assignments in place, the delay will be set to "0" automatically as later nodes in the flow may use that form data and therefore rely on the ticket to be created before they can be rendered properly.
Default: "0", meaning the ticket is created immediately when the user reaches this node.