discord / trigger / schema v1
Discord: Ticket Event
Continue a workflow when the built-in Ticket Panel opens, claims, closes or updates a ticket.
Prerequisites
- Add the discord plugin inside this workflow.
- Connect and authorize a discord account before running this node.
Parameters
| Parameter | Type | Description |
|---|---|---|
ServerguildId | discord_guild Required | |
Ticket eventevent | select Required Default: | Options: Ticket opened (opened), Ticket claimed (claimed), Ticket released (released), Ticket closed (closed), Ticket put on hold (held), Ticket resumed (resumed), Ticket escalated (escalated), Priority changed (priority_changed) |
Ticket Panel steppanelNodeId | text Optional | Optional internal filter used by detached Ticket blocks. Leave empty to listen to every Ticket Panel in this server. |
Inputs and outputs
Inputs
No ports declared.
Outputs
on_ticket- On Ticket Event (output)ticket_event- Ticket Event (output)ticket_channel_id- Ticket Channel (output)ticket_opener_id- Ticket Opener (output)ticket_staff_id- Acting Staff Member (output)ticket_type- Ticket Type (output)ticket_priority- Ticket Priority (output)ticket_form_fields- Form Answers (output)ticket_panel_node_id- Ticket Panel Step ID (output)guild_id- Server ID (output)
Output data schema
[
{
"key": "ticket_event",
"type": "string",
"label": "Ticket Event"
},
{
"key": "ticket_channel_id",
"type": "channel",
"label": "Ticket Channel",
"bindingRole": "event_subject"
},
{
"key": "ticket_opener_id",
"type": "user",
"label": "Ticket Opener",
"bindingRole": "event_subject"
},
{
"key": "ticket_staff_id",
"type": "user",
"label": "Acting Staff Member",
"optional": true,
"bindingRole": "actor"
},
{
"key": "ticket_type",
"type": "string",
"label": "Ticket Type",
"optional": true
},
{
"key": "ticket_priority",
"type": "string",
"label": "Ticket Priority",
"optional": true
},
{
"key": "ticket_form_fields",
"type": "object",
"label": "Form Answers",
"optional": true
},
{
"key": "ticket_panel_node_id",
"type": "string",
"label": "Ticket Panel Step ID"
},
{
"key": "guild_id",
"type": "guild",
"label": "Server ID",
"bindingRole": "current_context"
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
f6163931628975e96d3717a3eafbbaeecca9ec011c887baba621fff58791242c