# Zapier — tuGerente Integrations
> zapier.com/apps/tugerente/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
tuGerente is an administrative, financial, and accounting software whose purpose is to make our customers' lives easier

- App slug: tugerente
- Operations published here: 13 (6 events, 6 functions, 1 query)

## Authentication
Zapier connects to tuGerente 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 tugerente
```

## 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/tugerente/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect tuGerente 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 · complete_sale`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action tugerente write complete_sale \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing tuGerente'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: "tugerente" }).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 tugerente --page-size 50 --max-items 200 --json
```

### Events (6)

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

#### New Customer
Triggers when a new customer is created.

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

#### New Product
Triggers when a new product or service is created.

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

#### New Provider
Triggers when a new provider is created.

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

#### New Purchase
Triggers when a new purchase is created.

- Type: read · Key: `new_purchase`
- Requires: delivered, warehouse
- SDK: `runAction({ app: "tugerente", actionType: "read", action: "new_purchase" })`
- CLI: `npx zapier-sdk run-action tugerente read new_purchase`

#### New Sale
Triggers when a new sale is created.

- Type: read · Key: `new_sale`
- Requires: warehouse, delivered
- SDK: `runAction({ app: "tugerente", actionType: "read", action: "new_sale" })`
- CLI: `npx zapier-sdk run-action tugerente read new_sale`

#### New Pending Sale
Triggers when a new pending sale is created.

- Type: read · Key: `pending_sales`
- Requires: processed, warehouse
- SDK: `runAction({ app: "tugerente", actionType: "read", action: "pending_sales" })`
- CLI: `npx zapier-sdk run-action tugerente read pending_sales`

### Functions (6)

Functions change something in tuGerente.

#### Update Sale
Updates a pending sale.

- Type: write · Key: `complete_sale`
- Requires: sale, action, customer_name, billing_code, warehouse, discount_type, delivery_date, employee, payment_method, bill
- Optional: customer_email, discount, coupon_number, coupon_amount, comment, state, sku
- SDK: `runAction({ app: "tugerente", actionType: "write", action: "complete_sale" })`
- CLI: `npx zapier-sdk run-action tugerente write complete_sale`

#### Create Customer
Creates a Customer

- Type: write · Key: `create_customer`
- Requires: name, category, subcategory
- Optional: customer_discount, email, contact, phone1, phone2, phone3, billing_name, billing_code, code, birthday, address, payment_method, delivery_time, credit_days, delivery_method, reference, comment
- SDK: `runAction({ app: "tugerente", actionType: "write", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action tugerente write create_customer`

#### Create Sale
Creates a Sale.

- Type: write · Key: `create_sale`
- Requires: customer_name, billing_code, warehouse, product_name, product_qty, product_price, product_code, discount_type, delivery_date, delivered, employee, payment_method, bill
- Optional: customer_email, product_discount, discount, coupon_number, coupon_amount, comment, state, sku
- SDK: `runAction({ app: "tugerente", actionType: "write", action: "create_sale" })`
- CLI: `npx zapier-sdk run-action tugerente write create_sale`

#### Find Invoice
Finds an invoice based on a Sale id

- Type: write · Key: `find_invoice`
- Requires: sale_id
- SDK: `runAction({ app: "tugerente", actionType: "write", action: "find_invoice" })`
- CLI: `npx zapier-sdk run-action tugerente write find_invoice`

#### Stock Transfer
Transfers stock from one warehouse to another

- Type: write · Key: `transfer_stock`
- Requires: origin_warehouse, destiny_warehouse, product_id, qty
- Optional: comment
- SDK: `runAction({ app: "tugerente", actionType: "write", action: "transfer_stock" })`
- CLI: `npx zapier-sdk run-action tugerente write transfer_stock`

#### Update Sale State
Updates de current state of a Sale.

- Type: write · Key: `update_sale_state`
- Requires: sale, state
- SDK: `runAction({ app: "tugerente", actionType: "write", action: "update_sale_state" })`
- CLI: `npx zapier-sdk run-action tugerente write update_sale_state`

### Queries (1)

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

#### Find Sale
Retrieves a Sale based on its unique identifier.

- Type: search · Key: `find_sale`
- Requires: search_type, search_text
- SDK: `runAction({ app: "tugerente", actionType: "search", action: "find_sale" })`
- CLI: `npx zapier-sdk run-action tugerente search find_sale`

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