StyloDocs
Workflow blocks

Search Custom Object Records

Search custom object records by query string

View as Markdown

zendesk/search-custom-object-records — Search custom object records by query string.

Where it appears

The Search Custom Object Records 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 search within (e.g. home_delivery_order). Accepts literal text or <StepName.field>.
querytext (supports references)YesFree-text query matched against the custom object records. Accepts literal text or <StepName.field> from a previous step.
sorttext (supports references)NoOptional sort field; prefix with - for descending order (e.g. -updated_at). Accepts literal text or <StepName.field>.
pageSizetext (supports references)NoOptional number of records to return per page. Accepts a literal number or <StepName.field>.

Inputs and outputs

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

Outputs

Reference an output downstream with <Search Custom Object Records.field>.

NameTypeDescription
successbooleanSuccess status
recordsarrayMatching custom object records
countnumberTotal matching records
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "zendesk/search-custom-object-records",
  "config": {
    "customObjectKey": "<PreviousStep.field>",
    "query": "<PreviousStep.field>"
  }
}

Limits and failure modes

  • Requires a connected Zendesk integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required fields (customObjectKey, query) 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