TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node operation updates a single favorite folder in the TwentyDEV service. It allows users to modify properties such as the folder's name, position, and the depth of related objects included in the response. This is useful for organizing or reordering favorite folders programmatically within workflows, for example, updating folder names based on external input or adjusting their order dynamically.

Properties

Name Meaning
Id The unique identifier of the favorite folder to update.
Depth Determines how much nested related object information to include in the response: 0 (only primary), 1 (primary + directly related), or 2 (primary + directly related + their related).
Position Numeric value representing the position/order of the favorite folder.
Name The new name to assign to the favorite folder.

Output

The output JSON contains the updated favorite folder object with its properties reflecting the changes made. Depending on the Depth parameter, the response may include nested related objects up to two levels deep. There is no indication that binary data is returned by this operation.

Dependencies

  • Requires an API key credential for authenticating with the TwentyDEV API.
  • The base URL for API requests is configured via credentials.
  • The node uses standard HTTP headers for JSON content type.

Troubleshooting

  • Invalid Id: If the provided folder Id does not exist, the API will likely return an error indicating the resource was not found. Verify the Id before running the node.
  • Permission Errors: Insufficient permissions or invalid API credentials can cause authorization errors. Ensure the API key has rights to update favorite folders.
  • Invalid Property Values: Providing invalid values for Position (e.g., negative numbers) or Depth outside the allowed range (0,1,2) may cause request failures.
  • Empty Required Fields: The Id property is required; omitting it will prevent the node from executing properly.

Links and References

Discussion