Dify Workflow
AI-generatedOverview
This node allows users to execute and manage Dify AI workflows within n8n. It supports multiple operations such as executing a workflow, retrieving workflow details, stopping a workflow, and fetching workflow logs. This node is useful for automating AI workflow management tasks, integrating AI-driven processes into automation pipelines, and monitoring workflow execution and logs.
Use Case Examples
- Automate the execution of an AI workflow to process data and generate insights.
- Retrieve details of a specific AI workflow to monitor its configuration and status.
- Stop a running AI workflow as part of an error handling or control process.
- Fetch logs from an AI workflow to analyze its execution history and debug issues.
Output
JSON
jsonerror- Error message if the operation fails and continueOnFail is enabled.operation- The operation that was attempted when an error occurred.timestamp- Timestamp of when the error occurred.
Dependencies
- Dify API with API key and base URL credentials
Troubleshooting
- If an unsupported operation is selected, the node throws an error indicating the operation is not supported.
- Errors from the Dify API or network issues will cause the node to fail unless 'continueOnFail' is enabled, in which case error details are returned in the output.
- Ensure that the API key and base URL credentials are correctly configured to avoid authentication errors.
Links
- Dify AI Documentation - Official documentation for Dify AI workflows and API usage.