Put Glean to work with AI and enterprise-grade automation
Automate smarter with Glean and scale with confidence. Zapier is built for enterprise-grade security, compliance, and performance.
- No-code AI automation
- Full audit trails and controls
- SOC 2 and GDPR compliant
- Easy visual workflow builder
- 9,000+ apps, 450+ AI tools
- Free tier available
Join millions worldwide who automate their work using Zapier
Supported triggers and actions
Zapier helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event a Zap performs.
- Building Your Query
- Enter your query here. Please test your query in the Glean search bar first.Required
- Suggested fields
- Number of query results (Suggested)
- Use advanced search fields?
Try ItTriggerPolling- Agent Type
- Custom Agent Instructions
- Agent ID (Advanced)
- User MessageRequired
- Memory Key Instructions
- Memory Key
- Timeout (ms)
ActionWrite- DatasourceRequired
- UploadId
- Title
- Filename
- Container
- ContainerDatasourceId
- ContainerObjectType
- Document_datasource
- ObjectType
- ViewURL
- Id
- Summary_mimeType
- Summary_textContent
- Summary_binaryContent
- Body_mimeType
- Body_textContent
- Body_binaryContent
- Author_email
- Author_datasourceUserId
- Author_name
- Owner_email
- Owner_datasourceUserId
- Owner_name
- Permissions_allowedUsers_email
- Permissions_allowedUsers_datasourceUserId
- Permissions_allowedUsers_name
- Permissions_allowedGroups
- Permissions_allowedGroupIntersections_requiredGroups
- Permissions_allowAnonymousAccess
- Permissions_allowAllDatasourceUsersAccess
- CreatedAt
- UpdatedAt
- UpdatedBy_email
- UpdatedBy_datasourceUserId
- UpdatedBy_name
- Tags
- Interactions_numViews
- Interactions_numLikes
- Interactions_numComments
- Status
- AdditionalUrls
- Comments_id
- Comments_author_email
- Comments_author_datasourceUserId
- Comments_author_name
- Comments_content_mimeType
- Comments_content_textContent
- Comments_content_binaryContent
- Comments_createdAt
- Comments_updatedAt
- Comments_updatedBy_email
- Comments_updatedBy_datasourceUserId
- Comments_updatedBy_name
- CustomProperties_name
- CustomProperties_value
ActionWrite- Activity Type/ActionRequired
- TimestampRequired
- Document URLRequired
- ID
- Body Content
- Datasource Instance
- Datasource
- Instance Only Name
- Duration
- Query
- Referrer
- Title
- Truncated
ActionWrite
- Chat_agents_notice
- AgentRequired
- User MessageRequired
- Fields
- Timeout (seconds)
ActionWrite- DatasourceRequired
- Object TypeRequired
- Document IDRequired
- Version
ActionWrite- Event Type/ActionRequired
- Tracking TokensRequired
ActionWrite- Document Info (URL or ID)Required
- Query
- Preferred Summary Length
ActionWrite
For builders
Let your AI safely access Glean
Go beyond Zap workflows. Install Zapier in your AI to call Glean actions directly from your agents—with governance built in. Authenticate once. Revoke access anytime.
Call actions in natural language with Zapier MCP
Act in Glean from your AI—no exposed credentials, and you control which actions your AI can touch. One install covers 9,000+ other apps.
Example actions on this page
Works with
Claude · ChatGPT · Cursor · Any MCP-compatible AI
Work in code with the Zapier SDK
Expose Glean actions from backend services, scripts, or agent code. Zapier handles the OAuth and scoped permissions. Access 9,000+ apps, plus thousands more with .fetch().
Install
npm install @zapier/zapier-sdk npm install -D @zapier/zapier-sdk-cli zapier-sdk login # create a Glean connection @ https://zapier.com/es/app/assets/connections
Run an action
// Typescript
import { createZapierSdk } from "@zapier/zapier-sdk";
const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "glean", owner: "me" });
await zapier.runAction({
app: 'glean',
action: 'agent_run',
connection: connection.id,
input: {
{inputKeyValuePairs}
},
});Direct API calls to raw endpoints through fetch are not yet subject to org-level app and action restrictions.










