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
- Add an External Web Call action to your flow.
- 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”}
}} - Configure the RESPONSE VARIABLES to capture the ticket information. For more information, see the Zendesk Tickets support page.
- Save and Deploy your flow.