← Back to Skills Marketplace
yash-kavaiya

Dialogflow Cx Flows

by Yash Kavaiya · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
382
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install dialogflow-cx-flows
Description
Manage flows and pages in Google Dialogflow CX via REST API. Use for creating and organizing conversation paths within agents. Supports v3beta1 API.
README (SKILL.md)

\r \r

Dialogflow CX Flows\r

\r Manage flows and pages in Google Dialogflow CX via REST API for organizing conversation paths.\r \r

Prerequisites\r

\r

  • Google Cloud project with Dialogflow CX API enabled\r
  • Service account or OAuth credentials with Dialogflow API access\r
  • gcloud CLI authenticated OR bearer token\r \r

Authentication\r

\r

Option 1: gcloud CLI (recommended)\r

gcloud auth application-default login\r
TOKEN=$(gcloud auth print-access-token)\r
```\r
\r
### Option 2: Service Account\r
```bash\r
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"\r
TOKEN=$(gcloud auth application-default print-access-token)\r
```\r
\r
## API Base URL\r
\r
```\r
https://dialogflow.googleapis.com/v3beta1\r
```\r
\r
Regional endpoints available:\r
- `https://{region}-dialogflow.googleapis.com` (e.g., `us-central1`, `europe-west1`)\r
\r
## Common Operations\r
\r
### List Flows\r
```bash\r
curl -X GET \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/flows" \\r
  -H "Authorization: Bearer ${TOKEN}"\r
```\r
\r
### Create Flow\r
```bash\r
curl -X POST \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/flows" \\r
  -H "Authorization: Bearer ${TOKEN}" \\r
  -H "Content-Type: application/json" \\r
  -d '{\r
    "displayName": "Booking Flow",\r
    "description": "Handles flight booking conversations"\r
  }'\r
```\r
\r
### List Pages\r
```bash\r
curl -X GET \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/flows/${FLOW_ID}/pages" \\r
  -H "Authorization: Bearer ${TOKEN}"\r
```\r
\r
### Create Page\r
```bash\r
curl -X POST \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/flows/${FLOW_ID}/pages" \\r
  -H "Authorization: Bearer ${TOKEN}" \\r
  -H "Content-Type: application/json" \\r
  -d '{\r
    "displayName": "Collect Destination",\r
    "entryFulfillment": {\r
      "messages": [\r
        {\r
          "text": {\r
            "text": ["Where would you like to fly?"]\r
          }\r
        }\r
      ]\r
    }\r
  }'\r
```\r
\r
## Key Resources\r
\r
| Resource | Description |\r
|----------|-------------|\r
| **Flows** | Conversation paths within an agent |\r
| **Pages** | States within a flow |\r
| **Transition Routes** | Routing logic between pages |\r
| **Versions** | Immutable snapshots of flows |\r
\r
## Quick Reference\r
\r
For detailed API reference:\r
- **Flows & Pages**: See [references/flows.md](references/flows.md)\r
\r
## Scripts\r
\r
- `scripts/flows.py` — CLI wrapper for flows and pages operations\r
\r
### Usage\r
```bash\r
python scripts/flows.py list-flows --agent AGENT_NAME\r
python scripts/flows.py list-pages --flow FLOW_NAME\r
python scripts/flows.py get-flow --flow FLOW_NAME\r
python scripts/flows.py get-page --page PAGE_NAME\r
```\r
\r
## Tips\r
\r
- Every agent has a default "Default Start Flow"\r
- Pages represent conversation states\r
- Use transition routes to move between pages based on intents or conditions\r
- Train flows after making changes to update NLU\r
Usage Guidance
This skill appears to do what it says: manage Dialogflow CX flows and pages. Before installing or running it: (1) Verify the source/repository since 'Source: unknown' and no homepage are provided. (2) Inspect the included scripts (scripts/flows.py) yourself — they are short and readable. (3) Use a Google service account with the minimum Dialogflow permissions required (principle of least privilege). (4) Prefer using gcloud ADC or a dedicated service-account JSON stored securely; do not paste tokens into untrusted UIs. (5) If you will run the pip-installed libraries, install them in a virtual environment. If any of these checks fail or you can't verify the origin, treat the skill with caution.
Capability Analysis
Type: OpenClaw Skill Name: dialogflow-cx-flows Version: 1.0.0 The skill bundle is designed to manage Google Dialogflow CX resources. The `SKILL.md` file provides `curl` command examples for interacting with the Dialogflow CX API, which, if executed by an AI agent with unsanitized user-provided variables (e.g., for `PROJECT_ID`, `AGENT_ID`), could lead to shell injection vulnerabilities. While the `scripts/flows.py` Python script uses official Google Cloud client libraries and appears benign, the direct shell command examples in the markdown documentation represent a high-risk capability that could be exploited due to a vulnerability in the agent's execution environment, classifying it as suspicious rather than benign. There is no clear evidence of intentional malicious behavior like data exfiltration or persistence.
Capability Assessment
Purpose & Capability
Name/description match the included CLI script and SKILL.md. The script and curl examples all target Dialogflow CX v3beta1 endpoints and use standard Google auth mechanisms; nothing requested is unrelated to managing flows/pages.
Instruction Scope
SKILL.md instructs the agent to obtain a Google access token (gcloud or service account) and call Dialogflow REST endpoints or use the provided Python CLI. Instructions do not request reading unrelated files or sending data to non-Google endpoints.
Install Mechanism
There is no install spec (instruction-only), which is low-risk. The Python script recommends installing google-cloud-dialogflow-cx and google-auth via pip; that is expected for this functionality but the registry does not provide an automatic install step.
Credentials
The skill requires Google credentials (gcloud ADC or a service-account JSON) to operate, which is proportional to its purpose. The registry metadata, however, lists no required env vars — SKILL.md mentions exporting GOOGLE_APPLICATION_CREDENTIALS and using a TOKEN/PROJECT_ID placeholders; this mismatch is informational but not malicious.
Persistence & Privilege
always is false and the skill does not request persistent system-wide changes or modify other skills. The CLI is a simple client and does not persist secrets or alter agent configuration beyond normal Dialogflow API operations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dialogflow-cx-flows
  3. After installation, invoke the skill by name or use /dialogflow-cx-flows
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release for Dialogflow CX Flows skill: - Enables management of flows and pages in Google Dialogflow CX via the v3beta1 REST API. - Provides setup instructions for authentication and API access. - Includes sample curl commands for listing and creating flows and pages. - Introduces a CLI script (flows.py) for common flow/page operations. - Documents key resources and best practices for organizing conversation paths within agents.
Metadata
Slug dialogflow-cx-flows
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Dialogflow Cx Flows?

Manage flows and pages in Google Dialogflow CX via REST API. Use for creating and organizing conversation paths within agents. Supports v3beta1 API. It is an AI Agent Skill for Claude Code / OpenClaw, with 382 downloads so far.

How do I install Dialogflow Cx Flows?

Run "/install dialogflow-cx-flows" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dialogflow Cx Flows free?

Yes, Dialogflow Cx Flows is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Dialogflow Cx Flows support?

Dialogflow Cx Flows is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dialogflow Cx Flows?

It is built and maintained by Yash Kavaiya (@yash-kavaiya); the current version is v1.0.0.

💬 Comments