zendesk.help_center.search

Element details

type: meya.zendesk.help_center.component.search
class: ZendeskHelpCenterSearchComponent
path: /meya/zendesk/help_center/component/search.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
queryThe search text to be matched or a search string. Examples: "bluetooth help", "'bluetooth help'".str
label_namesA comma-separated list of label names.nullstr
localeSearch for articles in the specified locale.nullstr
categoryLimit the search to this category id.nullint
sectionLimit the search to this section id.nullint
sort_byOne of created_at or updated_at. Defaults to sorting by relevance.nullZendeskHelpCenterSortBy
sort_orderOne of asc or desc. Defaults to desc.nullZendeskHelpCenterSortOrder
created_afterLimit the search to articles created after a given date (format YYYY-MM-DD).nullstr
created_atLimit the search to articles created on a given date (format YYYY-MM-DD).nullstr
created_beforeLimit the search to articles created before a given date (format YYYY-MM-DD).nullstr
updated_afterLimit the search to articles updated after a given date (format YYYY-MM-DD).nullstr
updated_atLimit the search to articles updated on a given date (format YYYY-MM-DD).nullstr
updated_beforeLimit the search to articles updated before a given date (format YYYY-MM-DD).nullstr
pagePage number. Used for scroll the pagination.1int
per_pageMaximum number of articles to retrieve per request25int
integrationZendeskHelpCenterIntegrationRef
contextSend context data with this component's event.{}
dict
sensitivetruebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.[]list

Usage reference

Basic

triggers:
  - keyword: meya.zendesk.help_center.component.search
steps:
  - type: meya.zendesk.help_center.component.search
    query: STRING
    integration: integration.zendesk_help_center

Full

triggers:
  - keyword: meya.zendesk.help_center.component.search
steps:
  - type: meya.zendesk.help_center.component.search
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    query: STRING
    label_names: STRING
    locale: STRING
    category: 123
    section: 123
    sort_by: position|title|created_at|updated_at
    sort_order: asc|desc
    created_after: STRING
    created_at: STRING
    created_before: STRING
    updated_after: STRING
    updated_at: STRING
    updated_before: STRING
    page: 123
    per_page: 123
    integration: integration.zendesk_help_center
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY