From Bright Pattern Documentation
< 3.12:Scenario-builder-reference-guide
Revision as of 20:59, 3 August 2016 by Sasha (talk | contribs) (Created new topic from branched topic Documentation:ServicePattern:scenario-builder-reference-guide:ZendeskCreateObject:3.11)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

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).


< Previous | Next >
< Previous | Next >