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 retrieves a list of group access permissions for a specified prompt template. It is useful in scenarios where you need to manage or audit which user groups have access rights to a particular prompt template within your system. For example, an administrator can use this operation to verify or review group permissions before modifying access controls or sharing settings.

Properties

Name Meaning
Prompt Template ID The unique identifier (ID) of the prompt template for which to return the group access permissions. This property is required.

Output

The output JSON contains a list of group permissions associated with the specified prompt template. Each item in the list represents a group that has access to the prompt template, including details about the permission level granted to that group.

The node does not output binary data; it only returns structured JSON data representing group access permissions.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • The node makes HTTP GET requests to an API endpoint constructed as /prompt_templates/{prompt_template_id}/group_permissions.
  • The base URL and authentication headers are configured via credentials and environment variables in n8n.

Troubleshooting

  • Common issues:

    • Invalid or missing Prompt Template ID will result in errors or empty responses.
    • Insufficient permissions or invalid API key may cause authorization errors.
    • Network connectivity issues can prevent successful API calls.
  • Error messages:

    • "Prompt Template ID is required" — Ensure the Prompt Template ID property is set.
    • "Unauthorized" or "Forbidden" — Verify that the API key credential is valid and has sufficient permissions.
    • "Not Found" — The specified prompt template ID does not exist; check the ID value.
  • Resolution tips:

    • Double-check the Prompt Template ID input.
    • Confirm API key validity and permissions.
    • Test connectivity to the API endpoint outside n8n if needed.

Links and References

  • No direct external links provided in the source code.
  • Refer to your API provider's documentation for details on prompt template group permissions endpoints and authentication setup.

Discussion