> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://www.glideapps.com/docs/essentials/components/collections/comments/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://www.glideapps.com/_mcp/server. # Comments > Allow users to comment directly in your app. The **Comment Collection** is a special type of [Collection Component](/docs/essentials/components/collections) that allows users to comment directly in your app. Users can add new comments and see previous comments. > **Warning** > > For the comment feature to work properly, your app should have a sign-in method enabled and the user must be signed in with their email address. ## Setting up Comment Collections #### Adding Comments Arcade In [Layout Editor](/docs/getting-started/intro-to-layout) of your app, hit the plus (+) symbol to add a new component. Select the **Comments** component. Choose the [Data Source](/docs/essentials/data-sources) where you want your comments to be stored. If you'd like, give the component a new **Title**. Finally, pick the column in the data source where new messages should be stored under **Save Comment**. ## Configuring Comment Collections Comment collections are specifically designed for comment threads with the following **Display** fields: * **Comment**: The user's comment. * **Timestamp**: The date and time the comment was made. * **User photo**: The photo of the user who made the comment. * **User name**: The name of the user who made the comment. After mapping the fields you want to display with columns in the data source, populate **Additional Columns** for each new message. This will store the values that you want to display in the data source. * **Timestamp:** The date and time when the comment as made. * **User name**: The name of the signed-in user who made the comment. * **User photo**: The photo of the signed-in user who made the comment. * **\{A Unique Identifier}**: In our example, this was the candidate's name. We recommend storing at least one unique value for the thread in which you want this comment to appear. This will allow you to set up a [Relation](/docs/automation/computed-columns/relations) or [Filter](/docs/reference/user-experience/filter) to segment your comments. In addition to the standard options available with collections, the comment collection also comes with an **Empty screen** option. This is the message that will be displayed when there are no previous comments to show. ## Adding Actions to your Comment Collections The Comment Collection supports two types of actions: **After Submit Action**: Triggers every time a new comment is added. This is often used to send a notification through one of Glide's [Integrations](/docs/automation/integrations). ![After Submit Action](/docs/_fern-img/c996fc56b8c22416a3a5c6c12270ba5d95e03c8ac7db56d885fe0b679b755991.webp) **Collection Item Actions**: These can be triggered on each comment in the collection. This is often used to allow users to edit or delete a comment. ![Collection item Actions](/docs/_fern-img/e6c2150e8676aabc07a417bc4d442492b68372e0ea650499aa32b7a03670f107.webp) ## Comment Collections Case Study Darren is a freelancer helping businesses get the most out of Glide. When he meets with his clients, they establish a few tasks to work on. Each task is tracked to completion in a [Kanban Collection](/docs/essentials/components/collections/kanban). ![Darren's Kanban Collection](/docs/_fern-img/d091cdf6742ea0ef87b156cc4833d54f038aee639136547f069e39a82423ddaf.webp) When Darren has questions, he will shoot his clients a quick email, expecting a reply. But lately a few of his clients have mentioned losing his emails in their inbox. And to make matters worse, Darren's having trouble keeping up with all the email threads as he brings on more clients. **To help Darren and his clients get organized, we can use the Comment Collection to allow them to message back and forth on the tasks they are already tracking.** First, let's create a new comments table with these fields: * Task * Comment * Timestamp * User Photo * User Name Next, let's add a new Comment Collection to the task screen and map each of the fields we just created. Finally, let's add a filter to only show comments with this task as the topic and sort by the **Timestamp**. Amazing! Now Darren and his clients have a centralized single source of truth to discuss each of the tasks when they are working asynchronously. ## Frequently Asked Questions #### How can I get notified when a new comment is added? You can setup an **After Submit Action** to send a [Slack](/docs/automation/integrations/slack) message, email, or any other notification Glide supports through [Actions](/docs/automation/actions) and [Integrations](/docs/automation/integrations). #### Can I limit the number of items displayed in my collection? Yes, you can set the number of items displayed in your collection by using the **Limit number of items** setting in the Collection component. Start tracking your communication with Glide's Comment Collection. [Try it now](https://go.glideapps.com/). > Allow users to comment directly in your app.