# Zapier — Hana Integrations
> zapier.com/apps/hana/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## 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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
Hana is an advanced AI team assistant integrated in some of the largest chat platforms. Multiple platforms can report to her, who can then report to your team.

- App slug: hana
- Operations published here: 13 (3 events, 4 functions, 6 queries)

## Authentication
Zapier connects to Hana 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.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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 hana
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/hana/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Hana through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_approval`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "hana",
  actionType: "write",
  action: "create_approval",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action hana write create_approval \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Hana's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "hana" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions hana --page-size 50 --max-items 200 --json
```

### Events (3)

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

#### New Report Group
Triggers when a new Report Group is created.

- Type: read · Key: `getReportGroups`
- Requires: nothing
- SDK: `runAction({ app: "hana", actionType: "read", action: "getReportGroups" })`
- CLI: `npx zapier-sdk run-action hana read getReportGroups`

#### New Integration Group Space
Triggers when Hana is added to a new group space in Chat.

- Type: read · Key: `newIntegrationGroupSpace`
- Requires: nothing
- SDK: `runAction({ app: "hana", actionType: "read", action: "newIntegrationGroupSpace" })`
- CLI: `npx zapier-sdk run-action hana read newIntegrationGroupSpace`

#### New Report Group Message
Triggers when a new Report Group Message is added to a particular group.

- Type: read · Key: `reportGroupMessages`
- Requires: nothing
- Optional: reportGroupId, startTimestamp, endTimestamp
- SDK: `runAction({ app: "hana", actionType: "read", action: "reportGroupMessages" })`
- CLI: `npx zapier-sdk run-action hana read reportGroupMessages`

### Functions (4)

Functions change something in Hana.

#### Create Approval
Creates an approval request in Hana. A Google Chat card (and notification email) is sent to the designated approvers so they can approve or reject within the validity window.

- Type: write · Key: `create_approval`
- Requires: content, expiryDate, googleChatSpaceId
- Optional: links, images, defaultAction, approvers
- SDK: `runAction({ app: "hana", actionType: "write", action: "create_approval" })`
- CLI: `npx zapier-sdk run-action hana write create_approval`

#### Create Google Chat Message
Hana will create a Google Chat message in the specified space.

- Type: write · Key: `create_google_chat_message`
- Requires: message, spaceId
- SDK: `runAction({ app: "hana", actionType: "write", action: "create_google_chat_message" })`
- CLI: `npx zapier-sdk run-action hana write create_google_chat_message`

#### Create Report Group Message
Creates a report group message in Hana system that you can QnA over later such that Hana acts as your POC.

- Type: write · Key: `create_report_message`
- Requires: reportGroupName, messageTitle, messageString, sourcePlatform
- SDK: `runAction({ app: "hana", actionType: "write", action: "create_report_message" })`
- CLI: `npx zapier-sdk run-action hana write create_report_message`

#### Generate Completion
Allows you to generate a completion/reply from Hana based on some input prompt and other parameters. She will automatically consider her memories and other system context to answer your query.

- Type: write · Key: `generate_reply`
- Requires: prompt, sender_name, sender_type
- Optional: completionInfoText
- SDK: `runAction({ app: "hana", actionType: "write", action: "generate_reply" })`
- CLI: `npx zapier-sdk run-action hana write generate_reply`

### Queries (6)

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

#### Get Chat Completion Status
Get chat completion status for a previously requested chat completion.

- Type: search · Key: `asyncChatCompletion`
- Requires: messageId
- Optional: helpTextMessageId
- SDK: `runAction({ app: "hana", actionType: "search", action: "asyncChatCompletion" })`
- CLI: `npx zapier-sdk run-action hana search asyncChatCompletion`

#### Search for Report Group Messages in a Group
Search for report group messages from a particular report group, optionally between 2 timestamps. Max limit - 100 records.

- Type: search · Key: `getReportGroupMessagesSearch`
- Requires: nothing
- Optional: searchBy, reportGroupId, startTimestamp, endTimestamp
- SDK: `runAction({ app: "hana", actionType: "search", action: "getReportGroupMessagesSearch" })`
- CLI: `npx zapier-sdk run-action hana search getReportGroupMessagesSearch`

#### Search Report Groups
Search for report groups created in the Hana system. Max limit - 100 records.

- Type: search · Key: `getReportGroupsSearch`
- Requires: nothing
- Optional: searchBy
- SDK: `runAction({ app: "hana", actionType: "search", action: "getReportGroupsSearch" })`
- CLI: `npx zapier-sdk run-action hana search getReportGroupsSearch`

#### Search for Spaces Hana Is Added In
Search for spaces that Hana is added in Google Chat. Max limit - 100 records.

- Type: search · Key: `getSpacesSearch`
- Requires: nothing
- Optional: searchBy
- SDK: `runAction({ app: "hana", actionType: "search", action: "getSpacesSearch" })`
- CLI: `npx zapier-sdk run-action hana search getSpacesSearch`

#### Get Approval
Get the details of approval

- Type: search · Key: `get_approval`
- Requires: approvalId
- SDK: `runAction({ app: "hana", actionType: "search", action: "get_approval" })`
- CLI: `npx zapier-sdk run-action hana search get_approval`

#### Search User
Find a user across the organization

- Type: search · Key: `search_user`
- Requires: nothing
- Optional: search
- SDK: `runAction({ app: "hana", actionType: "search", action: "search_user" })`
- CLI: `npx zapier-sdk run-action hana search search_user`

## Popular integrations
- [Hana + Google Calendar](zapier.com/apps/hana/integrations/google-calendar.md)
- [Hana + Gmail](zapier.com/apps/hana/integrations/gmail.md)
- [Hana + Google Docs](zapier.com/apps/hana/integrations/google-docs.md)
- [Hana + Google Forms](zapier.com/apps/hana/integrations/google-forms.md)
- [Hana + Google Sheets](zapier.com/apps/hana/integrations/google-sheets.md)
- [Hana + Google Drive](zapier.com/apps/hana/integrations/google-drive.md)
- [Hana + ActiveCampaign](zapier.com/apps/hana/integrations/activecampaign.md)
- [Hana + Google Chat](zapier.com/apps/hana/integrations/google-chat.md)
- [Hana + BrandWell](zapier.com/apps/hana/integrations/brandwell.md)

## Links
- Full app page: zapier.com/apps/hana/integrations
- MCP: zapier.com/mcp/hana
- SDK: npmjs.com/package/@zapier/zapier-sdk