Actions64
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Integration → Dify
AI-generatedOverview
This node integrates with the Dify bot service, allowing users to perform various operations such as creating, checking, updating, deleting Dify bots, managing sessions, and changing session statuses. It is useful for automating interactions with Dify bots, managing bot configurations, and handling session states programmatically within workflows.
Use Case Examples
- Create a new Dify bot instance with specific triggers and settings.
- Check the details of an existing Dify bot by its ID.
- Update the configuration of a Dify bot, including triggers and session management options.
- Delete a Dify bot instance by ID to remove it from the system permanently.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the instance that will send the message, used to identify the sender. |
| What Do You Want to Do | Select the specific Dify operation to perform, such as create, find, update, delete, fetch sessions, or change session status. |
| Dify ID | The identifier of the Dify bot to search for or modify; leave empty to search all. |
| Dify Url | The URL endpoint of the Dify bot service for API requests. |
| Dify ApiKey | The API key credential for authenticating requests to the Dify bot service. |
| Trigger Type | Defines the type of trigger for the bot, either keyword-based or all messages. |
| Trigger Operator | The operator used to match the trigger keyword, such as contains, equals, starts with, ends with, or regex. |
| Trigger | The word, phrase, or regex pattern used as the trigger to start the Dify bot. |
| Expires In (Minutes) | Duration in minutes after which the bot deactivates if no answers are received. |
| Ending Keyword | The word or phrase used to close the bot session. |
| Default Message Delay (in Milliseconds) | Delay time in milliseconds before the bot sends a message. |
| Ending Keyword | The message shown when an unrecognized message is received. |
| Listen to Messages Sent by Me | Whether the bot listens to messages sent by the current instance. |
| Pause the Bot When I Send a Message | Whether to pause the bot when the current instance sends a message. |
| Keep the Bot Session Open | Whether to keep the bot session open after a conversation ends. |
| Wait Time (in Seconds) | Time in seconds the bot waits to join multiple messages into one after receiving a message. |
| Recipient Number | The recipient's RemoteJid used when changing session status. |
| Status | The status to set for the session, such as opened, paused, or closed. |
Output
JSON
id- The unique identifier of the Dify bot or session.status- The current status of the Dify bot or session.message- Response message or details from the Dify API operation.data- Additional data returned from the Dify API, such as session details or bot configuration.
Dependencies
- Requires API key credential for authenticating with the Dify bot service.
Troubleshooting
- Ensure the API URL and API key are correctly entered and valid to avoid authentication errors.
- Verify that the Dify ID is correct when performing operations that require it, such as update, delete, or fetch sessions.
- Check network connectivity to the Dify service endpoint to prevent request failures.
- Common error messages include authentication failures, invalid parameters, or unsupported operations; verify input parameters and credentials to resolve.