h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node operation allows you to share a specific collection with a user group by granting the group access permissions. It is useful in scenarios where you want to collaboratively manage or provide access to a collection of documents or data within an organization or team. For example, sharing a research document collection with a project team or granting access to a marketing content collection to the marketing department group.

Properties

Name Meaning
Collection ID The unique identifier of the collection you want to share.
Group ID The unique identifier of the group that will receive access to the collection.
Permissions (Optional) Defines the individual permission levels for the sharing rule (e.g., read, write).

Output

The output contains the full HTTP response from the API call that shares the collection with the specified group. The json field typically includes details about the updated sharing permissions or confirmation of the successful sharing action. There is no binary data output for this operation.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests.
  • The node communicates with an external API endpoint to perform the sharing operation.
  • The base URL and authentication headers are set via credentials and environment configuration.

Troubleshooting

  • Missing or invalid Collection ID or Group ID: Ensure both IDs are correctly provided and correspond to existing entities.
  • Insufficient permissions: The API key used must have rights to modify collection sharing settings.
  • Invalid permissions format: If specifying permissions, ensure they conform to expected values accepted by the API.
  • Network or API errors: Check connectivity and API availability; review error messages returned by the API for guidance.

Links and References

  • Refer to your platform's API documentation for "Collections" and "Group Permissions" endpoints for detailed information on permission levels and sharing rules.
  • Consult n8n documentation on setting up API key credentials and using HTTP request nodes for custom integrations.

Discussion