# Zapier — Local Line Integrations
> zapier.com/apps/local-line/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
Local Line is an eCommerce tool for farmers. Connect with your customers online, on the farm, and at the market.

- App slug: local-line
- Operations published here: 13 (9 events, 3 functions, 1 query)

## Authentication
Zapier connects to Local Line 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 local-line
```

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

### Getting Started
- **MCP**: connect Local Line 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 · close_store`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action local-line write close_store \
  --inputs '{}'
```

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

### Events (9)

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

#### Customer Changed
Triggers when a customer is changed.

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

#### Order Changed
Triggers when an order is changed.

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

#### Product Changed
Triggers when a product is changed.

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

#### Product Deleted
Triggers when a product is deleted.

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

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

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

#### Order Created
Triggers when a new order is created.

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

#### Payment Completed
Triggers when payment is completed.

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

#### Product Created
Triggers when a new product is created.

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

#### Vendor Created
Triggers when a new vendor is created.

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

### Functions (3)

Functions change something in Local Line.

#### Close Store
Set store as Closed based on external event.

- Type: write · Key: `close_store`
- Requires: nothing
- SDK: `runAction({ app: "local-line", actionType: "write", action: "close_store" })`
- CLI: `npx zapier-sdk run-action local-line write close_store`

#### Create or Update Customer
Creates or updates a customer based on email address.

- Type: write · Key: `customer`
- Requires: email, first_name, last_name
- Optional: company, phone
- SDK: `runAction({ app: "local-line", actionType: "write", action: "customer" })`
- CLI: `npx zapier-sdk run-action local-line write customer`

#### Open Store
Set store as Open based on external event.

- Type: write · Key: `open_store`
- Requires: nothing
- SDK: `runAction({ app: "local-line", actionType: "write", action: "open_store" })`
- CLI: `npx zapier-sdk run-action local-line write open_store`

### Queries (1)

Queries read from Local Line and return data. They change nothing.

#### Find Customer
Finds a customer by email

- Type: search · Key: `customer`
- Requires: email
- SDK: `runAction({ app: "local-line", actionType: "search", action: "customer" })`
- CLI: `npx zapier-sdk run-action local-line search customer`

## Popular integrations
- [Local Line + Mailchimp](zapier.com/apps/local-line/integrations/mailchimp.md)
- [Local Line + Google Sheets](zapier.com/apps/local-line/integrations/google-sheets.md)
- [Local Line + Google Calendar](zapier.com/apps/local-line/integrations/google-calendar.md)
- [Local Line + Textline](zapier.com/apps/local-line/integrations/textline.md)
- [Local Line + MailerLite](zapier.com/apps/local-line/integrations/mailerlite.md)
- [Local Line + Xero](zapier.com/apps/local-line/integrations/xero.md)
- [Local Line + ChatGPT (OpenAI)](zapier.com/apps/local-line/integrations/chatgpt.md)
- [Local Line + Microsoft Dynamics365 Business Central](zapier.com/apps/local-line/integrations/microsoft-dynamics365-business-c.md)
- [Local Line + Shopstar](zapier.com/apps/local-line/integrations/shopstar.md)
- [Local Line + Chanty](zapier.com/apps/local-line/integrations/chanty.md)
- [Local Line + Pidj](zapier.com/apps/local-line/integrations/pidj.md)
- [Local Line + Slack](zapier.com/apps/local-line/integrations/slack.md)
- [Local Line + Facebook Lead Ads](zapier.com/apps/local-line/integrations/facebook-lead-ads.md)
- [Local Line + HubSpot](zapier.com/apps/local-line/integrations/hubspot.md)
- [Local Line + Google Docs](zapier.com/apps/local-line/integrations/google-docs.md)
- [Local Line + Jotform](zapier.com/apps/local-line/integrations/jotform.md)
- [Local Line + Kajabi](zapier.com/apps/local-line/integrations/kajabi.md)
- [Local Line + ClickSend SMS](zapier.com/apps/local-line/integrations/clicksend.md)
- [Local Line + Zapier Chatbots](zapier.com/apps/local-line/integrations/zapier-chatbots.md)
- [Local Line + PayPal](zapier.com/apps/local-line/integrations/paypal.md)
- [Local Line + Squarespace Commerce](zapier.com/apps/local-line/integrations/squarespace-commerce.md)
- [Local Line + Magento](zapier.com/apps/local-line/integrations/magento.md)
- [Local Line + Notify](zapier.com/apps/local-line/integrations/notify.md)
- [Local Line + Tend](zapier.com/apps/local-line/integrations/tend.md)

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