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 "Lists Prompt Templates, Including Hidden Default Templates" retrieves a list of prompt templates from the connected system. It includes both user-created and system default prompt templates, even those that are hidden by default. This is useful for administrators or users with permission to manage prompt templates who want to view all available templates for configuration, auditing, or selection purposes.

Practical examples:

  • An admin wants to see all prompt templates including hidden defaults to decide which ones to enable or modify.
  • A user managing prompt templates needs to export or review all templates for documentation or migration.
  • Automated workflows that need to fetch all prompt templates for bulk processing or synchronization.

Properties

Name Meaning
Additional Options Collection of optional parameters to customize the listing behavior:
- Ascending Boolean; if true, results are sorted in ascending order by the specified sort column.
- Filter String; filter text applied to some columns of prompt templates to narrow down results.
- Limit Number; maximum number of prompt templates to return (minimum 1, default 50).
- Offset Number; how many prompt templates to skip before starting to return results (default 0).
- Sort Column Option; column to sort by. Possible values: Description, Is Default, Lang, Name, Updated At, User Count, Username, Visible. Default is Updated At.
- Template Type Option; filter by template type. Possible values: All, User, System. Default is All.

Output

The output JSON contains an array of prompt templates, each with attributes such as name, description, language, visibility, whether it is a default template, user count, username, and other metadata fields relevant to prompt templates.

The node does not output binary data.

Dependencies

  • Requires connection to an API endpoint that manages prompt templates.
  • Requires an API key credential configured in n8n for authentication.
  • The base URL for API requests is derived from the credential's URL.
  • The user must have permission to manage prompt templates to access hidden default templates.

Troubleshooting

  • Permission Denied: If the user lacks permission to manage prompt templates, the request may fail or return only visible templates. Ensure the API key has appropriate permissions.
  • Invalid Parameter Values: Providing invalid values for sorting or filtering options may cause errors or empty results. Verify option values conform to allowed choices.
  • Timeouts or Network Issues: Large result sets or slow network connections might cause timeouts. Adjust the limit or offset accordingly.
  • Empty Results: If no prompt templates are returned, check filters and ensure there are existing prompt templates in the system.

Links and References

  • Refer to the API documentation of the connected system for details on prompt template management endpoints.
  • Consult n8n documentation on configuring API credentials and HTTP request nodes for integration setup.

Discussion