# Upgrade.chat — Pipedream Connect

> PayPal and Stripe Verfied Partner Bot

- API slug: `upgrade_chat` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Commerce
- Website: https://upgrade.chat
- This page (HTML): https://pipedream.com/apps/upgrade-chat
- Tools: 6 actions · 4 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: upgrade_chat`

```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": "upgrade_chat",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Get Order:
const result = await mcp.callTool({
  name: "upgrade_chat-get-order",
  arguments: {
    orderUuid: "Order UUID",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.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 result = await pd.actions.run({
  id: "upgrade_chat-get-order",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    upgrade_chat: { authProvisionId: "apn_xxxxxxx" },
    orderUuid: "Order UUID",
  },
})
```

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

## Actions (6)

### `upgrade_chat-get-order` — Get Order (Read-only)

Get details of an order. See the documentation

Full schema: https://pipedream.com/apps/upgrade-chat/actions/get-order.md

### `upgrade_chat-get-product` — Get Product (Read-only)

Get details of a product. See the documentation

Full schema: https://pipedream.com/apps/upgrade-chat/actions/get-product.md

### `upgrade_chat-list-order-uuid-options` — List Order UUID Options (Read-only)

Retrieves available options for the Order UUID field.

Full schema: https://pipedream.com/apps/upgrade-chat/actions/list-order-uuid-options.md

### `upgrade_chat-list-orders` — List Orders (Read-only)

Retrieve a list of orders. See the documentation

Full schema: https://pipedream.com/apps/upgrade-chat/actions/list-orders.md

### `upgrade_chat-list-product-uuid-options` — List Product UUID Options (Read-only)

Retrieves available options for the Product UUID field.

Full schema: https://pipedream.com/apps/upgrade-chat/actions/list-product-uuid-options.md

### `upgrade_chat-list-products` — List Products (Read-only)

Retrieve a list of products. See the documentation

Full schema: https://pipedream.com/apps/upgrade-chat/actions/list-products.md

## Triggers (4)

### `upgrade_chat-new-order-created` — New Order Created (Polling)

Emit new event when an order is created. See the documentation

Full schema: https://pipedream.com/apps/upgrade-chat/triggers/new-order-created.md

### `upgrade_chat-new-product-created` — New Product Created (Polling)

Emit new event when a product is created. See the documentation

Full schema: https://pipedream.com/apps/upgrade-chat/triggers/new-product-created.md

### `upgrade_chat-order-updated` — Order Updated (Polling)

Emit new event when an order is updated. See the documentation

Full schema: https://pipedream.com/apps/upgrade-chat/triggers/order-updated.md

### `upgrade_chat-product-updated` — Product Updated (Polling)

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

Full schema: https://pipedream.com/apps/upgrade-chat/triggers/product-updated.md

---

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