# NetHunt CRM — Pipedream Connect

> NetHunt is a Gmail CRM that brings sales automation and drip campaigns straight to your inbox.

- API slug: `nethunt_crm` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: CRM
- Website: https://nethunt.com/
- This page (HTML): https://pipedream.com/apps/nethunt-crm
- Tools: 7 actions · 3 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: nethunt_crm`

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

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

const { tools } = await mcp.listTools()

// e.g. run Add Gmail Thread to Record:
const result = await mcp.callTool({
  name: "nethunt_crm-add-gmail-thread-to-record",
  arguments: {
    folderId: "Folder",
    recordId: "Record",
  },
})
```

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

## API proxy

For a NetHunt CRM 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://nethunt.com/api/v1/zapier/triggers/readable-folder

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9uZXRodW50LmNvbS9hcGkvdjEvemFwaWVyL3RyaWdnZXJzL3JlYWRhYmxlLWZvbGRlcg?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 result = await pd.actions.run({
  id: "nethunt_crm-add-gmail-thread-to-record",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    nethunt_crm: { authProvisionId: "apn_xxxxxxx" },
    folderId: "Folder",
    recordId: "Record",
  },
})
```

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

## Actions (7)

### `nethunt_crm-add-gmail-thread-to-record` — Add Gmail Thread to Record (Write)

Links a Gmail thread to a record. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/actions/add-gmail-thread-to-record.md

### `nethunt_crm-create-comment` — Create Comment (Write)

Create a new record comment. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/actions/create-comment.md

### `nethunt_crm-create-record` — Create Record (Write)

Creates a new record. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/actions/create-record.md

### `nethunt_crm-find-record` — Find Record (Read-only)

Search for a record using a text query. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/actions/find-record.md

### `nethunt_crm-get-record` — Get Record (Read-only)

Retrieve a record by its ID. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/actions/get-record.md

### `nethunt_crm-list-folder-id-options` — List Folder Options (Read-only)

Retrieves available options for the Folder field.

Full schema: https://pipedream.com/apps/nethunt-crm/actions/list-folder-id-options.md

### `nethunt_crm-update-record` — Update Record (Write)

Updates an existing record. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/actions/update-record.md

## Triggers (3)

### `nethunt_crm-comment-created` — New Comment Created (Polling)

Emit new event for every created comment. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/triggers/comment-created.md

### `nethunt_crm-new-record-created` — New Record Created (Polling)

Emit new event for every created record. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/triggers/new-record-created.md

### `nethunt_crm-record-updated` — Record Updated (Polling)

Emit new event for every updated record. See docs here

Full schema: https://pipedream.com/apps/nethunt-crm/triggers/record-updated.md

---

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