The Workflow
9 steps · click a step number to mark it done
Open glean and have it ready before you start
Identify the query class you want the agent to handle, e.g., employee FAQ, ticket metrics, or product documentation.
Connect Glean to your internal data sources by adding document repositories, APIs, and app integrations in the Data Sources settings.
Create a new Agent in Glean and select the appropriate LLM model for reasoning and generation.
Define the search tool configuration: map query intents to specific data sources and set any required advanced search operators.
Design the workflow steps—search, retrieve, format, and present—using Glean's visual workflow builder.
Add context selection rules so the agent includes relevant metadata (team, department, time range) in each prompt.
Test the agent with sample queries, review the generated answers, and adjust search relevance or formatting as needed.
Enable access controls so the agent respects user permissions when pulling data from protected sources.
Publish the agent to your organization’s chat or portal and monitor usage analytics to iterate and improve.