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 is needed for 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:

    Copy
    {“ticket”: {
    “subject”: “Ticket Subject”,
    “via_id”:45,
    “comment”: { “body”: “Ticket Body”}
    }}
  3. Configure the RESPONSE VARIABLES to capture the ticket information. For more information, see the Zendesk Tickets support page.

The Inputs section of the Configurations Panel for an External Web Call action

  1. Save and Deploy your flow.