# DEAR Systems — Pipedream Connect

> DEAR Inventory is a comprehensive inventory control application positioned as a complete back end management system with product planning, cost and development, manufacturing, sales, shipping and payment features.

- API slug: `dear` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Business Management
- Website: https://dearsystems.com
- This page (HTML): https://pipedream.com/apps/dear
- Tools: 0 actions · 20 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: dear`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "dear",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()
// Every tool arrives with its own input schema — run one with mcp.callTool().
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a DEAR Systems endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://inventory.dearsystems.com/ExternalApi/v2/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9pbnZlbnRvcnkuZGVhcnN5c3RlbXMuY29tL0V4dGVybmFsQXBpL3YyL21l?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const tools = await pd.components.list({
  app: "dear",
  componentType: "action",
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Triggers (20)

### `dear-new-authorized-purchase-order` — New Authorized Purchase Order (Instant)

Emit new event when a purchase order is created and authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-authorized-purchase-order.md

### `dear-new-authorized-sale-order` — New Authorized Sale Order (Instant)

Emit new event when a sale order is created and authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-authorized-sale-order.md

### `dear-new-authorized-sale-quote` — New Authorized Sale Quote (Instant)

Emit new event when a sale quote is created and authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-authorized-sale-quote.md

### `dear-available-stock-level-change` — New Available Stock Level Change (Instant)

Emit new event when the available stock level changes. See the documentation

Full schema: https://pipedream.com/apps/dear/triggers/available-stock-level-change.md

### `dear-customer-updated` — New Customer Updated (Instant)

Emit new event when a customer is updated. See the documentation

Full schema: https://pipedream.com/apps/dear/triggers/customer-updated.md

### `dear-new-product` — New Product (Polling)

Emit new event when a product is created

Full schema: https://pipedream.com/apps/dear/triggers/new-product.md

### `dear-new-purchase-credit-note-authorized` — New Purchase Credit Note Authorized (Instant)

Emit new event when a purchase credit note is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-purchase-credit-note-authorized.md

### `dear-new-purchase-invoice-authorized` — New Purchase Invoice Authorized (Instant)

Emit new event when a purchase invoiced is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-purchase-invoice-authorized.md

### `dear-new-purchase-stock-received-authorized` — New Purchase Stock Received Authorized (Instant)

Emit new event when a purchase stock received is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-purchase-stock-received-authorized.md

### `dear-new-sale-backordered` — New Sale Backordered (Instant)

Emit new event when a sale is backordered

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-backordered.md

### `dear-new-sale-credit-note-authorized` — New Sale Credit Note Authorized (Instant)

Emit new event when a sale credit note is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-credit-note-authorized.md

### `dear-new-sale-full-payment-received` — New Sale Full Payment Received (Instant)

Emit new event when a sale full payment is received

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-full-payment-received.md

### `dear-new-sale-invoice-authorized` — New Sale Invoice Authorized (Instant)

Emit new event when a sale invoice is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-invoice-authorized.md

### `dear-new-sale-pack-authorized` — New Sale Pack Authorized (Instant)

Emit new event when a sale pack is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-pack-authorized.md

### `dear-new-sale-partial-payment-received` — New Sale Partial Payment Received (Instant)

Emit new event when a sale partial payment is received

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-partial-payment-received.md

### `dear-new-sale-pick-authorized` — New Sale Pick Authorized (Instant)

Emit new event when a sale pick is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-pick-authorized.md

### `dear-new-sale-shipment-authorized` — New Sale Shipment Authorized (Instant)

Emit new event when a sale shipment is authorized

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-shipment-authorized.md

### `dear-new-sale-undo` — New Sale Undo (Instant)

Emit new event when a sale is undone

Full schema: https://pipedream.com/apps/dear/triggers/new-sale-undo.md

### `dear-sale-shipment-tracking-number-change` — New Shipment Tracking Number Change (Instant)

Emit new event when a shipment tracking number changes. See the documentation

Full schema: https://pipedream.com/apps/dear/triggers/sale-shipment-tracking-number-change.md

### `dear-supplier-updated` — New Supplier Updated (Instant)

Emit new event when a supplier is updated. See the documentation

Full schema: https://pipedream.com/apps/dear/triggers/supplier-updated.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
