Connect Glean and Code by Zapier to power AI-driven automation
- 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
How Zapier works
Zapier makes it easy to integrate Glean with Code by Zapier - no code necessary. See how you can get setup in minutes.
Choose a trigger
A trigger is the event that starts your Zap—like a "New Search Result" from Glean.
Add your action
An action happens after the trigger—such as "Run Javascript" in Code by Zapier.
You’re connected!
Zapier seamlessly connects Glean and Code by Zapier, automating your workflow.
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 AI agents & developers
Use Glean and Code by Zapier with AI agents and code
Beyond Zap workflows. Call Glean and Code by Zapier actions directly from your AI client or your codebase, using the same 9,000+ app integrations Zapier already runs.
Connect via Zapier MCP
Expose Glean and Code by Zapier actions as tools in any MCP client. Authenticate once, then call them in natural language.
Example actions on this page
Works with
Claude · ChatGPT · Cursor · any MCP-compatible client
Call from code with the Zapier SDK
Trigger Glean and Code by Zapier actions from backend services, scripts, or agent code.
Install
# TypeScript / Node npm install @zapier/zapier-sdk
Run an action
import { createZapierSdk } from '@zapier/zapier-sdk';
const zapier = createZapierSdk();
await zapier.runAction({ /* glean / code action */ });There is no Python package yet. SDK is TypeScript-only (@zapier/zapier-sdk). The MCP server URL is personal to your account; get it at zapier.com/mcp.
Zapier is the automation platform of choice for 87% of Forbes Cloud 100 companies in 2023




93%
Customers who say using Zapier has made them better at their job
25m
Customers have created over 25 million Zaps on the platform
6 mins
The average user takes less than 6 minutes to set up a Zap

