---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Grain + Databricks Integrations: Connect with Zapier MCP
> zapier.com/apps/grain/integrations/databricks
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Grain and Databricks in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `grain` and `databricks`, then `enable_zapier_action`. If Grain or Databricks isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Create SQL Execution is enabled, call `databricks_create_sql_execution`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "databricks", owner: "me" });

const { data } = await zapier.runAction({
  app: "databricks",
  actionType: "write",
  action: "create_sql_execution",
  connection: connection.id,
  inputs: {
    sql_statement: "", // SQL Statement
    warehouse_id: "", // Warehouse ID
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action databricks write create_sql_execution \
  --inputs '{"sql_statement":"","warehouse_id":""}'
```

## Grain

### Identity
Grain joins your calls to take notes, document the next steps, and file automated meeting notes in platforms like Slack, HubSpot, and more.

- App slug: grain
- Operations published here: 10 (9 events, 1 query)

### Authentication
Zapier connects to Grain via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection grain
```

### Capabilities

#### Events (9)

Events fire when something happens in Grain. Use them to start a run.

##### Highlight Added
Triggers when a Highlight is created.

- Type: read · Key: `highlight_added`
- Requires: nothing
- Optional: transcript, speakers
- MCP tool: `grain_highlight_added` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "highlight_added" })`
- CLI: `npx zapier-sdk run-action grain read highlight_added`

##### Highlight Deleted
Triggers when a Highlight is deleted.

- Type: read · Key: `highlight_deleted`
- Requires: nothing
- MCP tool: `grain_highlight_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "highlight_deleted" })`
- CLI: `npx zapier-sdk run-action grain read highlight_deleted`

##### Highlight Updated
Triggers when a Highlight is updated.

- Type: read · Key: `highlight_updated`
- Requires: nothing
- Optional: transcript, speakers
- MCP tool: `grain_highlight_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "highlight_updated" })`
- CLI: `npx zapier-sdk run-action grain read highlight_updated`

##### Recording Added
Triggers when a new Recording is created.

- Type: read · Key: `recording_added`
- Requires: nothing
- Optional: highlights, participants, calendarEvent, hubspot, aiActionItems, aiSummary, aiSections
- MCP tool: `grain_recording_added` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "recording_added" })`
- CLI: `npx zapier-sdk run-action grain read recording_added`

##### Recording Deleted
Triggers when a Recording is deleted.

- Type: read · Key: `recording_deleted`
- Requires: nothing
- MCP tool: `grain_recording_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "recording_deleted" })`
- CLI: `npx zapier-sdk run-action grain read recording_deleted`

##### Recording Updated
Triggers when a Recording is updated.

- Type: read · Key: `recording_updated`
- Requires: nothing
- Optional: highlights, participants, calendarEvent, hubspot, aiActionItems, aiSummary, aiSections
- MCP tool: `grain_recording_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "recording_updated" })`
- CLI: `npx zapier-sdk run-action grain read recording_updated`

##### Story Added
Triggers when a new Story is created.

- Type: read · Key: `story_added`
- Requires: nothing
- MCP tool: `grain_story_added` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "story_added" })`
- CLI: `npx zapier-sdk run-action grain read story_added`

##### Story Deleted
Triggers when a Story is deleted.

- Type: read · Key: `story_deleted`
- Requires: nothing
- MCP tool: `grain_story_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "story_deleted" })`
- CLI: `npx zapier-sdk run-action grain read story_deleted`

##### Story Updated
Triggers when a Story is updated.

- Type: read · Key: `story_updated`
- Requires: nothing
- MCP tool: `grain_story_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "read", action: "story_updated" })`
- CLI: `npx zapier-sdk run-action grain read story_updated`

#### Queries (1)

Queries read from Grain and return data. They change nothing.

##### Get Transcript
Fetch the Transcript of a recording

- Type: search · Key: `transcriptSearch`
- Requires: id, format
- MCP tool: `grain_get_transcript` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "grain", actionType: "search", action: "transcriptSearch" })`
- CLI: `npx zapier-sdk run-action grain search transcriptSearch`

## Databricks

### Identity
Databricks is a unified, open analytics platform for building, deploying, sharing, and maintaining enterprise-grade data, analytics, and AI solutions at scale.

- App slug: databricks
- Operations published here: 13 (3 functions, 10 queries)

### Authentication
Zapier connects to Databricks via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection databricks
```

### Capabilities

#### Functions (3)

Functions change something in Databricks.

##### Create SQL Execution
Submits a SQL statement to a Databricks SQL Warehouse without waiting for it to finish. Returns immediately with a Statement ID. Use this for large queries that would otherwise time out, then add a Delay step and use "Retrieve SQL Execution" to retrieve the data.

- Type: write · Key: `create_sql_execution`
- Requires: sql_statement, warehouse_id
- Optional: null_key, row_limit
- MCP tool: `databricks_create_sql_execution` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "write", action: "create_sql_execution" })`
- CLI: `npx zapier-sdk run-action databricks write create_sql_execution`

##### Trigger Job
Triggers a job to run.

- Type: write · Key: `job`
- Requires: job_id
- Optional: job_parameters
- MCP tool: `databricks_trigger_job` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "write", action: "job" })`
- CLI: `npx zapier-sdk run-action databricks write job`

##### Trigger Pipeline
Starts a new update for a Delta Live Table pipeline.

- Type: write · Key: `pipeline`
- Requires: pipeline_id
- Optional: full_refresh, validate_only
- MCP tool: `databricks_trigger_pipeline` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "write", action: "pipeline" })`
- CLI: `npx zapier-sdk run-action databricks write pipeline`

#### Queries (10)

Queries read from Databricks and return data. They change nothing.

##### Find Tables
Search for tables in Unity Catalog by name, description, or column names using keyword matching.

- Type: search · Key: `find_tables`
- Requires: catalog_name, search_query
- Optional: schema_name, limit
- MCP tool: `databricks_find_tables` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "find_tables" })`
- CLI: `npx zapier-sdk run-action databricks search find_tables`

##### Ask Genie Follow-Up Question
Ask a follow-up question in an existing Genie conversation, keeping context from previous questions. Add a Delay step, then use "Get Genie Answer" to retrieve the response.

- Type: search · Key: `genie_follow_up`
- Requires: space_id, conversation_id, question
- MCP tool: `databricks_ask_genie_follow-up_question` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "genie_follow_up" })`
- CLI: `npx zapier-sdk run-action databricks search genie_follow_up`

##### Get Genie Answer
Retrieve the answer from a previously submitted Genie question. Use after "Ask Genie a Question" (or "Ask Genie Follow-up Question") with a Delay step (60–120s) in between.

- Type: search · Key: `get_genie_result`
- Requires: space_id, conversation_id, message_id
- MCP tool: `databricks_get_genie_answer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "get_genie_result" })`
- CLI: `npx zapier-sdk run-action databricks search get_genie_result`

##### Get Genie Space Details
Look up a Genie space to see its configuration, available tables, and warehouse info. Useful for validating a space before querying.

- Type: search · Key: `get_genie_space_v2`
- Requires: space_id
- MCP tool: `databricks_get_genie_space_details` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "get_genie_space_v2" })`
- CLI: `npx zapier-sdk run-action databricks search get_genie_space_v2`

##### Query Online Table
Query Online table.

- Type: search · Key: `query_online_table`
- Requires: endpoint_name
- Optional: field_behavior
- MCP tool: `databricks_query_online_table` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "query_online_table" })`
- CLI: `npx zapier-sdk run-action databricks search query_online_table`

##### Query Serving Endpoint
Queries Databricks serving endpoint based on its name.

- Type: search · Key: `query_serving_endpoint`
- Requires: endpoint_name
- Optional: null_key, prompt, input, query_text, temperature, stop, max_tokens, n, stream, inputs
- MCP tool: `databricks_query_serving_endpoint` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "query_serving_endpoint" })`
- CLI: `npx zapier-sdk run-action databricks search query_serving_endpoint`

##### Query SQL Warehouse
Runs a query on a Databricks SQL Warehouse.

- Type: search · Key: `query_sql_warehouse`
- Requires: sql_statement, warehouse_id
- Optional: null_key, row_limit
- MCP tool: `databricks_query_sql_warehouse` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "query_sql_warehouse" })`
- CLI: `npx zapier-sdk run-action databricks search query_sql_warehouse`

##### Query Vector Search Index
Runs a query against Vector Search Index.

- Type: search · Key: `query_vector_search_index`
- Requires: endpoint_name, index_name, columns, query_text, query_type
- Optional: null_key, num_results, filters_json, score_threshold
- MCP tool: `databricks_query_vector_search_index` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "query_vector_search_index" })`
- CLI: `npx zapier-sdk run-action databricks search query_vector_search_index`

##### Retrieve SQL Execution
Retrieve the results of a previously submitted SQL execution. Use after "Create SQL Execution" with a Delay step (60 - 120 seconds) in between.

- Type: search · Key: `retrieve_sql_execution`
- Requires: statement_id
- MCP tool: `databricks_retrieve_sql_execution` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "retrieve_sql_execution" })`
- CLI: `npx zapier-sdk run-action databricks search retrieve_sql_execution`

##### Ask Genie a Question
Ask a natural language question to a Databricks Genie space. Returns immediately with a conversation ID. Add a Delay step (60–120s), then use "Get Genie Answer" to retrieve the response.

- Type: search · Key: `start_genie_conversation`
- Requires: space_id, question
- MCP tool: `databricks_ask_genie_a_question` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "databricks", actionType: "search", action: "start_genie_conversation" })`
- CLI: `npx zapier-sdk run-action databricks search start_genie_conversation`

## Frequently asked questions about automating with Grain and Databricks

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Grain integrations: zapier.com/apps/grain/integrations.md
- Databricks integrations: zapier.com/apps/databricks/integrations.md
- Full page: zapier.com/apps/grain/integrations/databricks
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk