Zendesk Create Object
This block creates a specified object in the Zendesk database. Object that can be created are tickets and users. For more information see the following articles:
https://developer.zendesk.com/rest_api/docs/core/tickets#creating-tickets
https://developer.zendesk.com/rest_api/docs/core/users#create-user
Note that to populate the custom fields in Zendesk activity history records, the Attached Data block shall be used.
Conditional Exits
- Failed – Executes if the create operation failed.
Settings
- Title text - The name of the block instance.
- Object type – Type of the Zendesk object to be created. Can be either a ticket or a user.
- Variable name of object ID – Name of the variable that will be used as identifier for the Zendesk object to be created. Will be set only if the block succeeds.
- Set fields – Reserved.
- Raw JSON – Object properties specified in JSON format (see the links above).
The code and the body of the received HTTP response will be stored in local variables $(integrationResultCode) and $(integrationResultBody) respectively. For troubleshooting purposes, use EMail or Internal Message block to obtain content of responses indicating a failed attempt to create an object. For more information, see description of variable $(integrationResultBody).