# OnceHub — Pipedream Connect

> Don't keep your leads waiting. Capture, qualify, and engage with inbound leads in minutes, not days.

- API slug: `oncehub` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Business Management
- Website: https://www.oncehub.com/
- This page (HTML): https://pipedream.com/apps/oncehub
- Tools: 0 actions · 13 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: oncehub`

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

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 OnceHub 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://api.oncehub.com/v2/test

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkub25jZWh1Yi5jb20vdjIvdGVzdA?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: "oncehub",
  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 (13)

### `oncehub-new-booking-canceled` — New Booking Canceled (Instant) (Instant)

Emit new event when a booking is canceled. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-booking-canceled.md

### `oncehub-new-booking-canceled-and-rescheduled` — New Booking Canceled and Recheduled (Instant) (Instant)

Emit new event when a customer cancels a booking and then reschedules on a different booking page. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-booking-canceled-and-rescheduled.md

### `oncehub-new-booking-lifecycle-event` — New Booking Lifecycle Event (Instant) (Instant)

Emit new event when the status of a booking is changed. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-booking-lifecycle-event.md

### `oncehub-new-booking-no-show` — New Booking No Show (Instant) (Instant)

Emit new event when a user sets the completed booking to No-show. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-booking-no-show.md

### `oncehub-new-booking-rescheduled` — New Booking Recheduled (Instant) (Instant)

Emit new event when a booking is rescheduled. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-booking-rescheduled.md

### `oncehub-new-booking-scheduled` — New Booking Scheduled (Instant) (Instant)

Emit new event when a new booking is scheduled. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-booking-scheduled.md

### `oncehub-new-contact-created` — New Contact Created (Polling)

Emit new event when a new contact is created. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-contact-created.md

### `oncehub-new-contact-updated` — New Contact Updated (Polling)

Emit new event when a contact is updated. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-contact-updated.md

### `oncehub-new-conversation-abandoned` — New Conversation Abandoned (Instant) (Instant)

Emit new event when a website visitor stops interacting with a bot for more than 10 minutes. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-conversation-abandoned.md

### `oncehub-new-conversation-closed` — New Conversation Closed (Instant) (Instant)

Emit new event when a website visitor reaches the end of the conversation flow or starts a new conversation with a different chatbot. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-conversation-closed.md

### `oncehub-new-conversation-lifecycle-event` — New Conversation Lifecycle Event (Instant) (Instant)

Emit new event when the status of a conversation is changed. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-conversation-lifecycle-event.md

### `oncehub-new-conversation-reached-out` — New Conversation Reached Out (Instant) (Instant)

Emit new event when a chatbot reaches out to a website visitor. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-conversation-reached-out.md

### `oncehub-new-conversation-started` — New Conversation Started (Instant) (Instant)

Emit new event when a website visitor starts interacting with a chatbot. See the docs

Full schema: https://pipedream.com/apps/oncehub/triggers/new-conversation-started.md

---

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