Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dify.ai/llms.txt

Use this file to discover all available pages before exploring further.

Collaboration is currently available on self-hosted deployments only. Support for Dify Cloud is planned for a future release.
Building a workflow sometimes takes more than one person: a prompt engineer tuning instructions, a domain expert validating logic, a reviewer flagging edge cases. Rather than taking turns, you can edit the same workflow alongside other workspace members and leave comments directly on the canvas, so the discussion stays with the work.
Comments and collaborator cursors can be hidden from the zoom menu in the bottom-right corner of the canvas.
Hide Comments and Collaborator Cursors

Real-Time Editing

Workspace members with editor permissions or above can edit the same workflow simultaneously. When two members change the same element at the same time, the last edit wins.

Comments

Right-click an empty area of the canvas and select Add Comment to leave a note. To drop multiple comments in a row, press C to enter comment mode. Comments persist across workflow versions. If you @mention a workspace member in a comment, they’ll receive an email notification. Anyone with access to the app can read comments; adding, editing, or resolving requires editor permissions or above.
For self-hosted deployments:
  • If you access Dify on a host other than localhost, set NEXT_PUBLIC_SOCKET_URL to a WebSocket URL your browser can reach (e.g., wss://dify.example.com).
  • To disable collaboration, set ENABLE_COLLABORATION_MODE to false. If using Docker Compose, also remove collaboration from COMPOSE_PROFILES.
See Environment Variables for details.