Actions77
- Blog Actions
- Board Actions
- Bookmark Actions
- Comment Actions
- Discussion Actions
- Documentation Actions
- Label Actions
- Search Actions
Comment → Create
AI-generatedOverview
This node operation creates a new comment associated with a specified object ID in the Discuss Kit platform. It is useful for adding user-generated comments to discussions, blogs, documents, or other content types managed within the platform. For example, it can be used to programmatically add feedback or notes to a blog post or discussion thread.
Use Case Examples
- Creating a comment on a blog post by providing the blog post's object ID and the comment content.
- Adding a comment to a discussion thread by specifying the discussion's object ID and the comment text.
Properties
| Name | Meaning |
|---|---|
| Content | The content of the comment to be created, provided as a JSON string. |
| Object ID | The ID of the object (e.g., discussion, blog post, document) to which the comment will be attached. |
Output
JSON
id- The unique identifier of the created comment.content- The content of the created comment.objectid- The ID of the object the comment is associated with.
createdAt- Timestamp when the comment was created.updatedAt- Timestamp when the comment was last updated.
Dependencies
- Discuss Kit API access via an API key or token, typically provided through a Blocklet Component API credential.
Troubleshooting
- Ensure the 'Content' field is a valid JSON string; invalid JSON will cause the API request to fail.
- Verify that the 'Object ID' corresponds to an existing object in the Discuss Kit platform; otherwise, the comment creation will fail.
- Check API authentication credentials if requests return authorization errors.