# Figma + OKrunit Integrations: Connect with Zapier MCP
> zapier.com/apps/figma/integrations/okrunit
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

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

## 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**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **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**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · add_comment`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action okrunit write add_comment \
  --inputs '{}'
```

## Figma

### Identity
Figma is a collaborative design tool for creating user interfaces, prototypes, and graphics.

- App slug: figma
- Operations published here: 18 (7 events, 8 functions, 3 queries)

### Authentication
Zapier connects to Figma 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.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 figma
```

### Capabilities

#### Events (7)

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

##### File Updated (Paid Accounts Only)
Triggers when a file is updated (within 30 minutes of editing inactivity in a file).

- Type: read · Key: `file_updated`
- Requires: context, context_id
- Optional: copy_context
- SDK: `runAction({ app: "figma", actionType: "read", action: "file_updated" })`
- CLI: `npx zapier-sdk run-action figma read file_updated`

##### New Comment
Triggers when a new comment is created in a Figma file.

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

##### New Comment (Paid Accounts Only)
Triggers when a new comment is created in a Figma file.

- Type: read · Key: `new_comment_webhook`
- Requires: context, context_id
- Optional: copy_context
- SDK: `runAction({ app: "figma", actionType: "read", action: "new_comment_webhook" })`
- CLI: `npx zapier-sdk run-action figma read new_comment_webhook`

##### New Dev Resource (Requires Dev Seat)
Triggers when a new dev resource is added to the Figma file.

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

##### New Project File
Triggers when a new file is added to a project.

- Type: read · Key: `new_file`
- Requires: team_id, project_id
- Optional: pat_notice
- SDK: `runAction({ app: "figma", actionType: "read", action: "new_file" })`
- CLI: `npx zapier-sdk run-action figma read new_file`

##### New File Version
Triggers when a new file version is created.

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

##### New Variable (Enterprise Only)
Triggers when a new variable is found in a file (local or published).

- Type: read · Key: `new_variable`
- Requires: file_key
- Optional: source
- SDK: `runAction({ app: "figma", actionType: "read", action: "new_variable" })`
- CLI: `npx zapier-sdk run-action figma read new_variable`

#### Functions (8)

Functions change something in Figma.

##### Create Comment
Creates a new comment in a Figma file.

- Type: write · Key: `create_comment`
- Requires: file_key, message
- Optional: parent_id
- SDK: `runAction({ app: "figma", actionType: "write", action: "create_comment" })`
- CLI: `npx zapier-sdk run-action figma write create_comment`

##### Create Dev Resource (Requires Dev Seat)
Creates a new dev resource in a Figma file.

- Type: write · Key: `create_dev_resource`
- Requires: file_key, url, name, node_id
- SDK: `runAction({ app: "figma", actionType: "write", action: "create_dev_resource" })`
- CLI: `npx zapier-sdk run-action figma write create_dev_resource`

##### Create Image
Creates a new image from a Figma file.

- Type: write · Key: `create_image`
- Requires: file_key, ids
- Optional: scale, format
- SDK: `runAction({ app: "figma", actionType: "write", action: "create_image" })`
- CLI: `npx zapier-sdk run-action figma write create_image`

##### Create Variable (Enterprise Only)
Creates a new variable in a Figma file.

- Type: write · Key: `create_variable`
- Requires: file_key, name, variable_collection_id, resolved_type
- Optional: description, hidden_from_publishing
- SDK: `runAction({ app: "figma", actionType: "write", action: "create_variable" })`
- CLI: `npx zapier-sdk run-action figma write create_variable`

##### Delete Comment
Deletes a comment in a Figma file.

- Type: write · Key: `delete_comment`
- Requires: file_key, comment_id
- SDK: `runAction({ app: "figma", actionType: "write", action: "delete_comment" })`
- CLI: `npx zapier-sdk run-action figma write delete_comment`

##### Delete Comment Reaction
Deletes your own comment reaction in a Figma file.

- Type: write · Key: `delete_comment_reaction`
- Requires: file_key, comment_id, emoji
- Optional: copy_delete_reaction
- SDK: `runAction({ app: "figma", actionType: "write", action: "delete_comment_reaction" })`
- CLI: `npx zapier-sdk run-action figma write delete_comment_reaction`

##### React to Comment
Reacts to a comment in a Figma file.

- Type: write · Key: `react_to_comment`
- Requires: file_key, comment_id, emoji
- SDK: `runAction({ app: "figma", actionType: "write", action: "react_to_comment" })`
- CLI: `npx zapier-sdk run-action figma write react_to_comment`

##### Update Variable (Enterprise Only)
Updates an existing variable in a Figma file.

- Type: write · Key: `update_variable`
- Requires: file_key, id
- Optional: name, description, hidden_from_publishing
- SDK: `runAction({ app: "figma", actionType: "write", action: "update_variable" })`
- CLI: `npx zapier-sdk run-action figma write update_variable`

#### Queries (3)

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

##### Search File
Searches for a file by key.

- Type: search · Key: `search_file`
- Requires: file_key
- Optional: depth
- SDK: `runAction({ app: "figma", actionType: "search", action: "search_file" })`
- CLI: `npx zapier-sdk run-action figma search search_file`

##### Search File Meta
Searches for a file by key and returns metadata.

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

##### Search File Version
Searches for a file version by ID and returns its full metadata.

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

## OKrunit

### Identity
OKrunit is a human approval layer for AI workflows. Route agent actions, deployments, and sensitive operations through human review before they execute.

- App slug: okrunit
- Operations published here: 7 (2 events, 3 functions, 2 queries)

### Authentication
Zapier connects to OKrunit 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.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 okrunit
```

### Capabilities

#### Events (2)

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

##### Approval Decided
Triggers when an approval request is approved or rejected.

- Type: read · Key: `approval_decided`
- Requires: nothing
- Optional: status_filter, priority_filter
- SDK: `runAction({ app: "okrunit", actionType: "read", action: "approval_decided" })`
- CLI: `npx zapier-sdk run-action okrunit read approval_decided`

##### New Approval Request
Triggers when a new approval request is created in your organization.

- Type: read · Key: `new_approval`
- Requires: nothing
- Optional: status_filter, priority_filter
- SDK: `runAction({ app: "okrunit", actionType: "read", action: "new_approval" })`
- CLI: `npx zapier-sdk run-action okrunit read new_approval`

#### Functions (3)

Functions change something in OKrunit.

##### Add Comment
Add a comment to an existing approval request.

- Type: write · Key: `add_comment`
- Requires: approval_id, body
- SDK: `runAction({ app: "okrunit", actionType: "write", action: "add_comment" })`
- CLI: `npx zapier-sdk run-action okrunit write add_comment`

##### Create Activity Log
Log an activity for audit and tracking purposes. This does not create an approval request. The Zap continues immediately.

- Type: write · Key: `create_approval`
- Requires: title
- Optional: description, source_url, metadata
- SDK: `runAction({ app: "okrunit", actionType: "write", action: "create_approval" })`
- CLI: `npx zapier-sdk run-action okrunit write create_approval`

##### Request Approval
Pause this Zap until a human approves or rejects. The next step runs only after a decision is made.

- Type: write · Key: `request_approval`
- Requires: nothing
- Optional: template_id, title, description, metadata
- SDK: `runAction({ app: "okrunit", actionType: "write", action: "request_approval" })`
- CLI: `npx zapier-sdk run-action okrunit write request_approval`

#### Queries (2)

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

##### Find Approval Request
Find a specific approval request by its ID.

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

##### Find Approvals
Search for approval requests with filters.

- Type: search · Key: `list_approvals`
- Requires: nothing
- Optional: status, priority, search, limit
- SDK: `runAction({ app: "okrunit", actionType: "search", action: "list_approvals" })`
- CLI: `npx zapier-sdk run-action okrunit search list_approvals`

## Frequently asked questions about automating with Figma and OKrunit

### 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
- Figma integrations: zapier.com/apps/figma/integrations.md
- OKrunit integrations: zapier.com/apps/okrunit/integrations.md
- Full page: zapier.com/apps/figma/integrations/okrunit
- SDK: npmjs.com/package/@zapier/zapier-sdk