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 creates a new tag in the system. Tags are labels that can be associated with documents to categorize or organize them. This operation is useful when you want to add metadata tags for easier searching, filtering, or grouping of documents within your workflows.

Common scenarios:

  • Automatically tagging documents upon ingestion based on their content or source.
  • Organizing documents by project, topic, or category using custom tags.
  • Enabling downstream nodes or processes to filter documents by specific tags.

Example:
You have a collection of comic book documents and want to tag some as "marvel" to quickly find all Marvel-related documents later. Using this node, you create a tag named "marvel" which can then be assigned to relevant documents.

Properties

Name Meaning
Name The name of the tag to create. This is a required string input. Example: "marvel".

Output

The output of this operation will be the JSON response from the API after creating the tag. It typically includes details about the newly created tag such as its name and any other metadata returned by the service.

If the node supports binary data output (not indicated here), it would represent any file or media data related to the tag creation, but this operation deals only with JSON data.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests to the external service.
  • The base URL for the API is dynamically set from credentials.
  • The node sends a POST request to the /tags endpoint with the tag name in the request body.

Troubleshooting

  • Missing or invalid API key: Ensure the API key credential is correctly set up and has permissions to create tags.
  • Tag name conflicts: If a tag with the same name already exists, the API might return an error. Use unique tag names.
  • Network issues: Verify connectivity to the API endpoint.
  • Invalid input: The "Name" property is required; ensure it is provided and not empty.

Links and References

  • Refer to the API documentation of the service managing tags for detailed information on tag creation and properties.
  • n8n documentation on how to configure API key credentials and use HTTP request nodes may also be helpful.

Discussion