Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Discussion → Create

AI-generated

Overview

This node operation creates a new discussion post using the Discuss Kit API. It allows users to specify details such as the title, content (in JSON string format), board ID, labels, assignees, and whether to publish the discussion immediately. This operation is useful for automating the creation of discussion threads in community forums, project boards, or collaborative platforms.

Use Case Examples

  1. Creating a new discussion post with a specific title and content on a designated board.
  2. Automatically assigning labels and assignees to a discussion post upon creation.
  3. Publishing a discussion post immediately after creation to make it visible to users.

Properties

Name Meaning
Title Title of the discussion, required for creating the discussion.
Content Content of the discussion in JSON string format, required for creating the discussion.
Board ID of the board to which this discussion belongs, used to categorize the discussion.
Labels Comma-separated labels for the discussion, used for tagging and categorization.
Assignees Comma-separated DIDs of assignees, specifying users responsible for the discussion.
Publish Boolean flag indicating whether to publish the content immediately after creation.
Slug Slug of the content, used for URL-friendly identifiers.

Output

JSON

  • id - Unique identifier of the created discussion post.
  • title - Title of the created discussion post.
  • content - Content of the created discussion post.
  • boardId - Board ID to which the discussion belongs.
  • labels - Labels assigned to the discussion post.
  • assignees - Assignees of the discussion post.
  • published - Publication status of the discussion post.

Dependencies

  • Discuss Kit API
  • an API key credential for authentication

Troubleshooting

  • Ensure all required fields (title, content) are provided to avoid validation errors.
  • Check API authentication credentials if requests fail due to authorization errors.
  • Verify the board ID exists and is accessible to avoid resource not found errors.
  • If the publish flag is true, ensure the user has permission to publish content.

Links

Discussion