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 sharing a specific Prompt Template with a user by granting them access permissions. It is useful in scenarios where prompt templates, which define reusable AI prompts or configurations, need to be shared selectively with individual users within an organization or system. For example, an admin can share a custom prompt template for customer support responses with a particular team member, enabling consistent and efficient use of AI-generated content.

Properties

Name Meaning
Prompt Template ID The unique identifier of the prompt template to be shared.
Username The username of the user who will receive access to the specified prompt template.

Output

The output contains the full HTTP response from the API call that shares the prompt template with the specified user. The json field typically includes confirmation details about the sharing action, such as success status or updated permission information. This node does not output binary data.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node sends a PUT request to the endpoint /prompt_templates/{prompt_template_id}/permissions/{username} to perform the sharing operation.
  • The base URL for the API is configured dynamically based on credentials.

Troubleshooting

  • Common Issues:

    • Invalid or missing Prompt Template ID or Username will cause the API call to fail.
    • Insufficient permissions of the authenticated user to share prompt templates.
    • Network or connectivity issues preventing communication with the API server.
  • Error Messages:

    • "Prompt Template not found" — Verify the Prompt Template ID is correct.
    • "User not found" — Check that the username exists in the system.
    • "Permission denied" — Ensure the API key has rights to share prompt templates.
    • Timeout or network errors — Confirm network connectivity and API endpoint availability.

Links and References

  • Refer to the API documentation of the prompt template management system for detailed information on sharing permissions and user management.
  • Consult your platform's credential setup guide to configure the required API key authentication.

Discussion