# Google Dialogflow — Pipedream Connect

> Create conversational experiences across devices and platforms.

- API slug: `google_dialogflow` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Infrastructure & Cloud
- Website: https://cloud.google.com/dialogflow/
- This page (HTML): https://pipedream.com/apps/google-dialogflow
- Tools: 20 actions · 0 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: google_dialogflow`

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

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

const { tools } = await mcp.listTools()

// e.g. run Create Context:
const result = await mcp.callTool({
  name: "google_dialogflow-create-context",
  arguments: {
    name: "Name",
    sessionId: "Session ID",
  },
})
```

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: "google_dialogflow-create-context",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_dialogflow: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    sessionId: "Session ID",
  },
})
```

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

## Actions (20)

### `google_dialogflow-create-context` — Create Context (Write)

Creates a context, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/create-context.md

### `google_dialogflow-create-entities` — Create Entities (Write)

Batch create entities, See REST docs and client API docs

Full schema: https://pipedream.com/apps/google-dialogflow/actions/create-entities.md

### `google_dialogflow-create-entity-type` — Create Entity Type (Write)

Creates an Entity Type, See REST docs and client API docs

Full schema: https://pipedream.com/apps/google-dialogflow/actions/create-entity-type.md

### `google_dialogflow-create-intent` — Create Intent (Write)

Creates an intent, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/create-intent.md

### `google_dialogflow-create-update-agent` — Create or Update Agent (Write)

Creates new agent, updates if already created See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/create-update-agent.md

### `google_dialogflow-delete-agent` — Delete Agent (Write)

Deletes an agent, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/delete-agent.md

### `google_dialogflow-delete-context` — Delete Context (Write)

Deletes a context See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/delete-context.md

### `google_dialogflow-delete-entities` — Delete Entities (Write)

Batch delete entities, See REST docs and client API docs

Full schema: https://pipedream.com/apps/google-dialogflow/actions/delete-entities.md

### `google_dialogflow-delete-entity-type` — Delete Entity Type (Write)

Deletes an entity type, See REST docs and client API docs

Full schema: https://pipedream.com/apps/google-dialogflow/actions/delete-entity-type.md

### `google_dialogflow-delete-intent` — Delete Intent (Write)

Deletes an intent, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/delete-intent.md

### `google_dialogflow-detect-intent` — Detect Intent (Write)

Processes a natural language query and returns structured, actionable data as a result, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/detect-intent.md

### `google_dialogflow-get-agent` — Get Agent (Read-only)

Retrieves an agent, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/get-agent.md

### `google_dialogflow-get-context` — Get Context (Read-only)

Get a context, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/get-context.md

### `google_dialogflow-get-entity-type` — Get Entity Type (Read-only)

Retrieves an Entity Type, See REST docs and client API docs

Full schema: https://pipedream.com/apps/google-dialogflow/actions/get-entity-type.md

### `google_dialogflow-get-intent` — Get Intent (Read-only)

Retrieves an intent See REST docs and [client API][https://googleapis.dev/nodejs/dialogflow/latest/google.cloud.dialogflow.v2beta1.Intents.html#getIntent2]

Full schema: https://pipedream.com/apps/google-dialogflow/actions/get-intent.md

### `google_dialogflow-list-contexts` — List Contexts (Read-only)

Retrieves the list of the contexts with the given session ID, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/list-contexts.md

### `google_dialogflow-list-entity-types` — List Entity Types (Read-only)

Retrieves list of entity types, See REST docs and client API docs

Full schema: https://pipedream.com/apps/google-dialogflow/actions/list-entity-types.md

### `google_dialogflow-list-intents` — List Intents (Read-only)

Retrieves the list of the intents, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/list-intents.md

### `google_dialogflow-update-context` — Update Context (Write)

Updates a context, See REST docs and client API

Full schema: https://pipedream.com/apps/google-dialogflow/actions/update-context.md

### `google_dialogflow-update-entity-type` — Update Entity Type (Write)

Updates an Entity Type, See REST docs and client API docs

Full schema: https://pipedream.com/apps/google-dialogflow/actions/update-entity-type.md

---

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