Nestr icon

Nestr

Manage projects, roles, circles, and workspaces in Nestr - Role-based and self-organized collaboration

Overview

This node integrates with the Nestr platform to manage posts within workspaces. Specifically, the Update Post operation allows users to modify existing posts by updating their labels or parent post association. This is useful in scenarios where project collaboration content needs to be reorganized or re-labeled dynamically, such as updating task statuses, categorizing posts, or restructuring discussion threads.

Practical examples include:

  • Changing the labels of a post to reflect its current status (e.g., from "draft" to "published").
  • Assigning a post to a different parent item to restructure nested discussions or tasks.

Properties

Name Meaning
Workspace Name or ID Select the workspace to work with. Choose from the list or specify an ID via expression.
Additional Fields Optional fields to update on the post:
  Labels Comma-separated list of labels to assign to the post.
  Parent ID The ID of the parent post to associate this post with (for nesting or hierarchy).

Output

The node outputs JSON data representing the updated post object returned from the Nestr API. This typically includes all post properties after the update, such as its ID, title, labels, parent ID, and other metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Nestr API using OAuth2 authentication.
  • The node depends on the nestrApiRequest helper function to communicate with the Nestr REST API.
  • The user must have access rights to the specified workspace and post to perform updates.

Troubleshooting

  • Common Issues:

    • Providing an invalid or non-existent workspace ID or post ID will result in errors.
    • Incorrectly formatted labels (e.g., missing commas) may cause unexpected behavior.
    • Attempting to set a parent ID that does not exist or creates circular references might fail.
  • Error Messages:

    • "Post not found" — Verify the post ID is correct and exists in the selected workspace.
    • "Unauthorized" or "Authentication failed" — Check that the API credentials are valid and have sufficient permissions.
    • "Invalid input" — Ensure labels are comma-separated strings and parent ID is a valid post identifier.

Resolving these usually involves verifying input parameters, ensuring proper API credentials, and confirming resource existence in the Nestr workspace.

Links and References

Discussion