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 Prompt Template with a user group. By sharing a prompt template, the specified group gains access to use or manage that prompt template within the system. This is useful in collaborative environments where multiple users organized into groups need to utilize or modify shared prompt templates for AI-powered workflows, such as generating text completions or managing conversational AI prompts.

Practical examples:

  • A marketing team group can be granted access to a prompt template designed for generating product descriptions.
  • A support team group can share a prompt template tailored for customer service chatbots.
  • Admins can centrally manage prompt templates and selectively share them with relevant user groups.

Properties

Name Meaning
Prompt Template ID The unique identifier of the prompt template to be shared with the group.
Group ID The unique identifier of the group that will receive access to the prompt template.

Output

The output contains the full HTTP response from the API call that shares the prompt template with the group. The json field typically includes confirmation details about the sharing action, such as success status or updated permissions. There is no binary data output for this operation.

Dependencies

  • Requires an API key credential for authentication to the backend service.
  • The node makes an HTTP PUT request to the endpoint /prompt_templates/{prompt_template_id}/group_permissions/{group_id}.
  • The base URL and authentication headers are configured via credentials.
  • Proper permissions are required on the API side to share prompt templates with groups.

Troubleshooting

  • Invalid Prompt Template ID or Group ID: Ensure that both IDs are correct and exist in the system; otherwise, the API will return an error.
  • Insufficient Permissions: If the API key does not have rights to share prompt templates or manage group permissions, the request will fail.
  • Network Issues: Connectivity problems may cause the request to time out or fail.
  • API Errors: Check the API response message for details if the sharing fails (e.g., "Prompt template not found", "Group not found", or "Permission denied").

To resolve errors:

  • Verify input IDs.
  • Confirm API key permissions.
  • Check network connectivity.
  • Review API documentation or logs for detailed error messages.

Links and References

Discussion