discord / trigger / schema v1
Discord: Scheduled Event
Trigger when a scheduled event is created, changed, cancelled, or someone RSVPs
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 | |
Event FiltereventIdFilter | tags Optional | Only these scheduled events. Empty = every event in the server. |
Inputs and outputs
Inputs
No ports declared.
Outputs
on_scheduled_event_create- On Created (output)on_scheduled_event_update- On Updated (output)on_scheduled_event_delete- On Cancelled (output)on_scheduled_event_user_add- On RSVP (output)on_scheduled_event_user_remove- On RSVP Removed (output)event_id- Event ID (output)event_name- Event Name (output)event_description- Description (output)guild_id- Server ID (output)channel_id- Voice Channel (output)location- Location (output)creator_id- Created By (output)status- Status (output)start_time- Starts At (output)end_time- Ends At (output)user_count- Interested Count (output)user_id- RSVP User ID (output)timestamp- Timestamp (output)
Output data schema
[
{
"key": "event_id",
"type": "snowflake",
"label": "Event ID",
"bindingRole": "event_subject"
},
{
"key": "event_name",
"type": "string",
"label": "Event Name",
"bindingRole": "event_subject"
},
{
"key": "event_description",
"type": "string",
"label": "Description"
},
{
"key": "guild_id",
"type": "guild",
"label": "Server ID",
"bindingRole": "current_context"
},
{
"key": "channel_id",
"type": "channel",
"label": "Voice Channel",
"bindingRole": "current_context"
},
{
"key": "location",
"type": "string",
"label": "Location"
},
{
"key": "creator_id",
"type": "user",
"label": "Created By",
"bindingRole": "actor"
},
{
"key": "status",
"type": "string",
"label": "Status"
},
{
"key": "start_time",
"type": "timestamp",
"label": "Starts At"
},
{
"key": "end_time",
"type": "timestamp",
"label": "Ends At"
},
{
"key": "user_count",
"type": "number",
"label": "Interested Count"
},
{
"key": "user_id",
"type": "user",
"label": "RSVP User ID",
"description": "RSVP branches only: empty on create/update/cancel",
"bindingRole": "event_subject"
},
{
"key": "timestamp",
"type": "timestamp",
"label": "Timestamp"
}
]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
4a82f42a10ac54296293b65d0d6daa26559ea927266e43bfef403c89444fc191