StyloDocs
Workflow blocks

Upsert Custom Object Record

Create or update a custom object record by external ID or name

View as Markdown

zendesk/upsert-custom-object-record — Create or update a custom object record by external ID or name.

Where it appears

The Upsert Custom Object Record block lives in the Integrations group of the Workflow Builder. Connect the Zendesk integration before adding it.

Fields

FieldTypeRequiredDefaultDescription
customObjectKeytext (supports references)YesThe key of the Zendesk custom object type to create or update a record for (e.g. home_delivery_order). Accepts literal text or <StepName.field>.
nametext (supports references)NoDisplay name for the record; also used as the match key when it is unique. Accepts literal text or <StepName.field>.
externalIdtext (supports references)NoExternal identifier used as the match key to find an existing record; if none matches, a new record is created. Accepts literal text or <StepName.field>.
customFieldscodeNoJSON object of custom object field keys to values to set on the created or updated record.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Upsert Custom Object Record.field>.

NameTypeDescription
successbooleanSuccess status
recordjsonCreated or updated custom object record (object — fields: id, name, external_id, custom_object_key, custom_object_fields, created_at, updated_at)
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "zendesk/upsert-custom-object-record",
  "config": {
    "customObjectKey": "<PreviousStep.field>"
  }
}

Limits and failure modes

  • Requires a connected Zendesk integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required field (customObjectKey) must be set, or the block fails validation before it runs.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page