CONNECT APP
Build with Google Dialogflow
Infrastructure & Cloud
- API key
MCP
Give your agent Google Dialogflow tools
Every Google Dialogflow action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Google Dialogflow account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{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",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{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",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Create Context:
result = await session.call_tool("google_dialogflow-create-context", {
"name": "Name",
"sessionId": "Session ID",
})SDK
Run Google Dialogflow actions from your backend
Connect a user's Google Dialogflow account once, then run Create Context on their behalf from your own code — TypeScript, Python, or plain HTTP.
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",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="google_dialogflow-create-context",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"google_dialogflow": {"authProvisionId": "apn_xxxxxxx"},
"name": "Name",
"sessionId": "Session ID",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "google_dialogflow-create-context",
"configured_props": {
"google_dialogflow": { "authProvisionId": "apn_xxxxxxx" },
"name": "Name",
"sessionId": "Session ID"
}
}'TOOLS
Google Dialogflow actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Create Context
actionCreates a context, See REST docs and client APIWritev1.0.1 -
Create Entities
actionBatch create entities, See REST docs and client API docsWritev1.0.1 -
Create Entity Type
actionCreates an Entity Type, See REST docs and client API docsWritev1.0.1 -
Create Intent
actionCreates an intent, See REST docs and client APIWritev1.0.1 -
Create or Update Agent
actionCreates new agent, updates if already created See REST docs and client APIWritev1.0.1 -
Delete Agent
actionDeletes an agent, See REST docs and client APIWritev1.0.1 -
Delete Context
actionDeletes a context See REST docs and client APIWritev1.0.1 -
Delete Entities
actionBatch delete entities, See REST docs and client API docsWritev1.0.1 -
Delete Entity Type
actionDeletes an entity type, See REST docs and client API docsWritev1.0.1 -
Delete Intent
actionDeletes an intent, See REST docs and client APIWritev1.0.1 -
Detect Intent
actionProcesses a natural language query and returns structured, actionable data as a result, See REST docs and client APIWritev1.0.1 -
Get Agent
actionRetrieves an agent, See REST docs and client APIRead-onlyv1.0.1 -
Get Context
actionGet a context, See REST docs and client APIRead-onlyv1.0.1 -
Get Entity Type
actionRetrieves an Entity Type, See REST docs and client API docsRead-onlyv1.0.2 -
Get Intent
actionRetrieves an intent See REST docs and [client API][https://googleapis.dev/nodejs/dialogflow/latest/google.cloud.dialogflow.v2beta1.Intents.html#getIntent2]Read-onlyv1.0.1 -
List Contexts
actionRetrieves the list of the contexts with the given session ID, See REST docs and client APIRead-onlyv1.0.1 -
List Entity Types
actionRetrieves list of entity types, See REST docs and client API docsRead-onlyv1.0.1 -
List Intents
actionRetrieves the list of the intents, See REST docs and client APIRead-onlyv1.0.2 -
Update Context
actionUpdates a context, See REST docs and client APIWritev1.0.1 -
Update Entity Type
actionUpdates an Entity Type, See REST docs and client API docsWritev1.0.1
EVENTS
Google Dialogflow triggers
Event sources your backend can deploy for users and receive through a webhook.
No Google Dialogflow triggers are available yet.
MULTI-APP
Use Google Dialogflow with other popular apps
Most products don't stop at one integration. Pair Google Dialogflow with the other apps your users rely on, and ship use cases that span both.
REFERENCE
App details
Reference metadata for the Google Dialogflow connector in the Pipedream registry.
- App slug
- google_dialogflow
- Authentication
- API key
- Categories
- Infrastructure & Cloud
- Actions
- 20
- Triggers
- 0
- API proxy
- Not available