节点与集成
Discord
Use the Discord node to automate work in Discord, and integrate Discord with other applications. n8n has built-in support for a wide range of Discord features, including sending messages in a Discord channel and managing channels.
On this page, you'll find a list of operations the Discord node supports and links to more resources.
Operations
- Channel
- Create
- Delete
- Get
- Get Many
- Update
- Message
- Delete
- Get
- Get Many
- React with Emoji
- Send
- Send and Wait for Response
- Member
- Get Many
- Role Add
- Role Remove
By choosing the Send and Wait for a Response operation, you can send a message and pause the workflow execution until a person confirms the action or provides more information.
Response Type
You can choose between the following types of waiting and approval actions:
- Approval: Users can approve or disapprove from within the message.
- Free Text: Users can submit a response with a form.
- Custom Form: Users can submit a response with a custom form.
You can customize the waiting and response behavior depending on which response type you choose. You can configure these options in any of the above response types:
- Limit Wait Time: Whether the workflow will automatically resume execution after a specified time limit. This can be an interval or a specific wall time.
- Append n8n Attribution: Whether to mention in the message that it was sent automatically with n8n (turned on) or not (turned off).
Approval response customization
When using the Approval response type, you can choose whether to present only an approval button or both approval and disapproval buttons.
You can also customize the button labels for the buttons you include.
Free Text response customization
When using the Free Text response type, you can customize the message button label, the form title and description, and the response button label.
Custom Form response customization
When using the Custom Form response type, you build a form using the fields and options you want.
You can customize each form element with the settings outlined in the n8n Form trigger's form elements. To add more fields, select the Add Form Element button.
You'll also be able to customize the message button label, the form title and description, and the response button label.
Templates and examples
Browse n8n-nodes-base.discord integration templates or search all templates
Related resources
Refer to Discord's documentation for more information about the service.
If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
You can use the credential you created for this service in the HTTP Request node:
- In the HTTP Request node, select Authentication > Predefined Credential Type.
- Select the service you want to connect to.
- Select your credential.
Refer to Custom API operations for more information.
Common issues
For common errors or issues and suggested resolution steps, refer to Common Issues.
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。