Creating a Ticket in Zendesk

To create a ticket in Zendesk, you need the following:

Generate a Zendesk API Token

Complete Zendesk’s tutorial on generating a new API token. Your Zendesk API token will be needed in future steps.

Update Your SmartFlow
  1. Add an External Web Call action to your flow.
  2. Configure the action as follows:

USER Name:{Zendesk Username}/token

PASSWORD:Your Zendesk API Token

METHOD:POST

URL OF SERVICE:{Zendesk instance name}.zendesk.com/api/v2/tickets

CONTENT-TYPE:application/json

BODY

{“ticket”: {

“subject”: “Ticket Subject”,

“via_id”:45,

“comment”: { “body”: “Ticket Body”}

}}

  1. Configure the RESPONSE VARIABLES to capture the ticket information. See the Zendesk Tickets support page for more information.

SmartFlow Inputs Example

SmartFlow Inputs Example
  1. Save and Deploy your flow.