# Cogmento — Pipedream Connect

> Cogmento is AI, Data, and CRM powered by verifiable credentials and self-sovereign identity.

- API slug: `cogmento` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: CRM
- Website: https://cogmento.com/
- This page (HTML): https://pipedream.com/apps/cogmento
- 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: cogmento`

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

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

const { tools } = await mcp.listTools()

// e.g. run Create Contact:
const result = await mcp.callTool({
  name: "cogmento-create-contact",
  arguments: {
    firstName: "First Name",
    lastName: "Last Name",
  },
})
```

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: "cogmento-create-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    cogmento: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "Last Name",
  },
})
```

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

## Actions (7)

### `cogmento-create-contact` — Create Contact (Write)

Create a new contact in Cogmento CRM. See the documentation

Full schema: https://pipedream.com/apps/cogmento/actions/create-contact.md

### `cogmento-create-deal` — Create Deal (Write)

Create a new deal in Cogmento CRM. See the documentation

Full schema: https://pipedream.com/apps/cogmento/actions/create-deal.md

### `cogmento-create-task` — Create Task (Write)

Create a new task in Cogmento CRM. See the documentation

Full schema: https://pipedream.com/apps/cogmento/actions/create-task.md

### `cogmento-list-contact-id-options` — List Contact ID Options (Read-only)

Retrieves available options for the Contact ID field.

Full schema: https://pipedream.com/apps/cogmento/actions/list-contact-id-options.md

### `cogmento-list-deal-id-options` — List Deal ID Options (Read-only)

Retrieves available options for the Deal ID field.

Full schema: https://pipedream.com/apps/cogmento/actions/list-deal-id-options.md

### `cogmento-list-product-ids-options` — List Product IDs Options (Read-only)

Retrieves available options for the Product IDs field.

Full schema: https://pipedream.com/apps/cogmento/actions/list-product-ids-options.md

### `cogmento-list-user-ids-options` — List User IDs Options (Read-only)

Retrieves available options for the User IDs field.

Full schema: https://pipedream.com/apps/cogmento/actions/list-user-ids-options.md

## Triggers (3)

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

Emit new event when a new contact is added in Cogmento. See the documentation

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

### `cogmento-new-deal-created` — New Deal Created (Polling)

Emit new event when a new deal is created in Cogmento. See the documentation

Full schema: https://pipedream.com/apps/cogmento/triggers/new-deal-created.md

### `cogmento-new-task-created` — New Task Created (Polling)

Emit new event when a new task is created in Cogmento. See the documentation

Full schema: https://pipedream.com/apps/cogmento/triggers/new-task-created.md

---

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