discord / action / schema v1
Welcome & Goodbye
Attach to a Member trigger: greets arrivals in a channel or privately, hands them their starting roles, and posts a goodbye when they leave, no other nodes needed.
Prerequisites
- Add the discord plugin inside this workflow.
Parameters
| Parameter | Type | Description |
|---|---|---|
ServerguildId | discord_guild Required | |
Ignore botsignoreBots | boolean Optional Default: | On by default: a bot added to the server does not get greeted or given roles. |
Welcome channelwelcomeChannelId | discord_channel Optional | Where arrivals are greeted. Leave empty to skip the public greeting. A private one and the starting roles still work. |
Welcome messagewelcomeMessage | textarea Optional Default: | These are filled in by this node when someone joins. The editor may flag them as unknown variables. That warning is expected and harmless. |
Send the welcome as an embedwelcomeAsEmbed | boolean Optional | Post it as an embed card instead of plain text. Required if you want a banner image or the member's avatar shown. |
Embed titlewelcomeTitle | text Optional | Field conditions{
"visible": {
"key": "welcomeAsEmbed",
"values": [
"true"
]
}
} |
Banner image URLwelcomeImageUrl | text Optional | Shown at the bottom of the embed. Leave empty for no banner.Field conditions{
"visible": {
"key": "welcomeAsEmbed",
"values": [
"true"
]
}
} |
Show their avatarshowAvatar | boolean Optional | Puts the joining member's avatar in the embed's corner.Field conditions{
"visible": {
"key": "welcomeAsEmbed",
"values": [
"true"
]
}
} |
Also welcome them privatelydmWelcome | boolean Optional | Sends the same text as a direct message. A member with DMs closed simply does not get one. The public greeting still happens. |
Roles given on arrivalautoRoleIds | discord_role Optional | Handed out the moment someone joins: a starter role, a colour, an opt-in default. |
Goodbye channelgoodbyeChannelId | discord_channel Optional | Where departures are announced. Leave empty to say nothing when someone leaves. |
Goodbye messagegoodbyeMessage | textarea Optional | A mention is deliberately not offered here: Discord renders it as a raw id once the member has gone. |
Remove their welcome when they leavedeleteWelcomeOnLeave | boolean Optional | Deletes the greeting posted when they joined, so a channel of welcomes only ever shows members who are still here. |
Inputs and outputs
Inputs
execute- Execute (input)
Outputs
done- Done (output)posted- Posted? (output)event- Join or leave (output)error- Error (output)
No detailed data schema is declared. Inspect a test run to see its result.
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
708d5418407e185f15282a943239da7730b391d3931b9d6e7aca35a376c76c93