Webhooks & Actions
Post setup, leverage the following features for enhanced management and communication using Discord within your Rewst Workflows.
Webhook Triggers
Webhook triggers in Rewst's Discord integration are all about making your workflows smarter and more responsive. Here's a straightforward look at what they offer:
Automated Command Management: They handle the heavy lifting of creating and updating application commands based on your configurations.
Custom Interaction Flexibility: While they automate most processes, there's room for manual customization in interactions, ensuring you get exactly what you need.
Adaptive Workflows: These triggers stay alert to changes, keeping your workflows in sync with the latest Discord interactions.
Types of Triggers
Slash Command Trigger: Initiates workflows for specific slash commands in guild channels.
User Command Trigger: Responds to user commands in guilds.
Message Command Trigger: Activates workflows for particular message commands in guilds.
Custom Interaction Trigger: Handles unique interaction events, needing a bit of setup as per Discord's guidelines.
Setting Up Triggers
Command Name: Decide the command's name that will kick off your trigger.
Command Type: Choose from Slash, User, Message, or Custom commands.
Guild ID: Identify the server where this magic will happen.
Endpoints & Actions
Channel Actions
Action Name | Method | Endpoint | Parameters |
---|---|---|---|
List Guild Channels | GET |
| (Required) |
Create Guild Channel | POST |
| (Required) |
Command Actions
Action Name | Method | Endpoint | Parameters |
---|---|---|---|
Create Guild Command | POST |
| (Required) |
Delete Guild Command | DELETE |
| (Required) |
List Guild Commands | GET |
| (Required) |
Edit Guild Command | PATCH |
| (Required) |
Emoji Actions
Action Name | Method | Endpoint | Parameters |
---|---|---|---|
List Guild Emojis | GET |
| (Required) |
Get Guild Emoji by ID | GET |
| (Required) |
Create Guild Emoji | POST |
| (Required) |
Guild Actions
Action Name | Method | Endpoint | Parameters |
---|---|---|---|
Get Current User Guilds | GET |
| None |
Get Guild Info by ID | GET |
| (Required) |
Interaction Actions
Action Name | Method | Endpoint | Parameters |
---|---|---|---|
Create Followup Message | POST |
| (Required) |
Edit Original Interaction Response | PATCH |
| (Required) |
User Actions
Action Name | Method | Endpoint | Parameters |
---|---|---|---|
Get Current Authorized User Info | GET |
| None |
Get User Info by ID | GET |
| (Required) |
Search Guild Members | GET |
| (Required) |
Add Role to User | PUT |
| (Required) |
Create Guild Role | POST |
| (Required) |
Last updated