Glean icon

Glean

Retrieve results from the Glean index for the given query and filters

Overview

This node allows you to perform a search query against the Glean index, retrieving relevant results based on the input query string. It is useful for scenarios where you want to integrate Glean's search capabilities into your workflows, such as fetching documents, data, or insights indexed by Glean in response to user queries or automated triggers.

For example, you could use this node to:

  • Automatically search your organization's knowledge base for specific topics.
  • Retrieve relevant documents or information snippets based on dynamic input.
  • Integrate Glean search results into reports or notifications.

Properties

Name Meaning
Query The search query string to send to Glean. Enter the text you want to search for in the Glean index.

Output

The node outputs JSON data containing the search results returned from the Glean API. This typically includes an array of matched items with details such as titles, snippets, URLs, or other metadata depending on the Glean index configuration.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Glean service.
  • The node sends a POST request to the Glean REST API endpoint /rest/api/v1/search.
  • The base URL for the API must be configured in the credentials and should not have a trailing slash.

Troubleshooting

  • Empty or no results: Ensure the query string is correctly specified and that the Glean index contains data matching the query.
  • Authentication errors: Verify that the API key credential is valid and has appropriate permissions.
  • Network or connection issues: Check the base URL configuration and network connectivity to the Glean API.
  • Invalid response or parsing errors: Confirm that the Glean API endpoint is reachable and returning valid JSON responses.

Links and References

Discussion