type: meya.zendesk.support.component.ticket.update
class: ZendeskSupportTicketUpdateComponent
path: /meya/zendesk/support/component/ticket/update.py
signature: -
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
integration | ○ | ◉ | ZendeskSupportIntegrationRef | ||
requester_id | ○ | ○ | int | null | The user who requested this ticket |
subject | ○ | ○ | str | null | The value of the subject field for this ticket |
comment | ○ | ○ | str | null | Add a comment to the ticket |
comment_public | ○ | ○ | bool | null | Controls whether the ticket is public or not |
tags | ○ | ○ | list | null | An array of tags to add to the ticket |
custom_fields | ○ | ○ | list | null | An array of the custom field objects consisting of IDs and values |
ticket_type | ○ | ○ | str | null | The type of this ticket |
status | ○ | ○ | ZendeskSupportTicketStatus | null | The state of the ticket |
priority | ○ | ○ | str | null | The urgency with which the ticket should be addressed |
assignee_id | ○ | ○ | int | null | The agent currently assigned to the ticket |
group_id | ○ | ○ | int | null | |
external_id | ○ | ○ | str | null | |
ticket_form_id | ○ | ○ | int | null | The ID of the ticket form to render for the ticket |
brand_id | ○ | ○ | int | null | The ID of the brand this ticket is associated with |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
ticket_id | ○ | ○ | int | null |
Examples
Basic
triggers:
- keyword: meya.zendesk.support.component.ticket.update
steps:
- type: meya.zendesk.support.component.ticket.update
integration: integration.zendesk_support
Full
triggers:
- keyword: meya.zendesk.support.component.ticket.update
steps:
- type: meya.zendesk.support.component.ticket.update
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
integration: integration.zendesk_support
requester_id: 123
subject: STRING
comment: STRING
comment_public: false
tags:
- STRING
custom_fields:
- id: 123
value: ANY
ticket_type: STRING
status: new|open|pending|hold|solved|closed
priority: STRING
assignee_id: 123
group_id: 123
external_id: STRING
ticket_form_id: 123
brand_id: 123
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
ticket_id: 123