{
  "schemaVersion": "1.0",
  "item": {
    "slug": "dialogflow-cx-conversations",
    "name": "Dialogflow Cx Conversations",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Yash-Kavaiya/dialogflow-cx-conversations",
    "canonicalUrl": "https://clawhub.ai/Yash-Kavaiya/dialogflow-cx-conversations",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/dialogflow-cx-conversations",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dialogflow-cx-conversations",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "references/conversations.md",
      "scripts/conversations.py",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/dialogflow-cx-conversations"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/dialogflow-cx-conversations",
    "agentPageUrl": "https://openagent3.xyz/skills/dialogflow-cx-conversations/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dialogflow-cx-conversations/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dialogflow-cx-conversations/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Dialogflow CX Conversations",
        "body": "Manage conversations and sessions in Google Dialogflow CX via REST API for testing and interaction handling."
      },
      {
        "title": "Prerequisites",
        "body": "Google Cloud project with Dialogflow CX API enabled\nService account or OAuth credentials with Dialogflow API access\ngcloud CLI authenticated OR bearer token"
      },
      {
        "title": "Option 1: gcloud CLI (recommended)",
        "body": "gcloud auth application-default login\nTOKEN=$(gcloud auth print-access-token)"
      },
      {
        "title": "Option 2: Service Account",
        "body": "export GOOGLE_APPLICATION_CREDENTIALS=\"/path/to/service-account.json\"\nTOKEN=$(gcloud auth application-default print-access-token)"
      },
      {
        "title": "API Base URL",
        "body": "https://dialogflow.googleapis.com/v3beta1\n\nRegional endpoints available:\n\nhttps://{region}-dialogflow.googleapis.com (e.g., us-central1, europe-west1)"
      },
      {
        "title": "Detect Intent",
        "body": "curl -X POST \\\n  \"https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/sessions/${SESSION_ID}:detectIntent\" \\\n  -H \"Authorization: Bearer ${TOKEN}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"queryInput\": {\n      \"text\": {\n        \"text\": \"Hello\"\n      },\n      \"languageCode\": \"en\"\n    }\n  }'"
      },
      {
        "title": "Match Intent (no state change)",
        "body": "curl -X POST \\\n  \"https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/sessions/${SESSION_ID}:matchIntent\" \\\n  -H \"Authorization: Bearer ${TOKEN}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"queryInput\": {\n      \"text\": {\n        \"text\": \"Hello\"\n      },\n      \"languageCode\": \"en\"\n    }\n  }'"
      },
      {
        "title": "Create Test Case",
        "body": "curl -X POST \\\n  \"https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/testCases\" \\\n  -H \"Authorization: Bearer ${TOKEN}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"displayName\": \"Greeting Test\",\n    \"testCaseConversationTurns\": [\n      {\n        \"userInput\": {\n          \"input\": {\n            \"text\": {\n              \"text\": \"Hi\"\n            }\n          }\n        },\n        \"virtualAgentOutput\": {\n          \"textResponses\": [\n            {\n              \"text\": [\"Hello!\"]\n            }\n          ]\n        }\n      }\n    ]\n  }'"
      },
      {
        "title": "Key Resources",
        "body": "ResourceDescriptionSessionsConversation instances with stateDetect IntentProcess user input and get responsesTest CasesAutomated conversation testing"
      },
      {
        "title": "Quick Reference",
        "body": "For detailed API reference:\n\nConversations & Testing: See references/conversations.md"
      },
      {
        "title": "Scripts",
        "body": "scripts/conversations.py — CLI wrapper for conversation operations"
      },
      {
        "title": "Usage",
        "body": "python scripts/conversations.py detect-intent --agent AGENT_NAME --text \"Hello\"\npython scripts/conversations.py match-intent --agent AGENT_NAME --text \"Hello\""
      },
      {
        "title": "Tips",
        "body": "Session IDs can be any unique string (e.g., UUID)\nUse detectIntent for full conversation flow, matchIntent for testing without state changes\nTest cases help validate conversation logic before deployment"
      }
    ],
    "body": "Dialogflow CX Conversations\n\nManage conversations and sessions in Google Dialogflow CX via REST API for testing and interaction handling.\n\nPrerequisites\nGoogle Cloud project with Dialogflow CX API enabled\nService account or OAuth credentials with Dialogflow API access\ngcloud CLI authenticated OR bearer token\nAuthentication\nOption 1: gcloud CLI (recommended)\ngcloud auth application-default login\nTOKEN=$(gcloud auth print-access-token)\n\nOption 2: Service Account\nexport GOOGLE_APPLICATION_CREDENTIALS=\"/path/to/service-account.json\"\nTOKEN=$(gcloud auth application-default print-access-token)\n\nAPI Base URL\nhttps://dialogflow.googleapis.com/v3beta1\n\n\nRegional endpoints available:\n\nhttps://{region}-dialogflow.googleapis.com (e.g., us-central1, europe-west1)\nCommon Operations\nDetect Intent\ncurl -X POST \\\n  \"https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/sessions/${SESSION_ID}:detectIntent\" \\\n  -H \"Authorization: Bearer ${TOKEN}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"queryInput\": {\n      \"text\": {\n        \"text\": \"Hello\"\n      },\n      \"languageCode\": \"en\"\n    }\n  }'\n\nMatch Intent (no state change)\ncurl -X POST \\\n  \"https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/sessions/${SESSION_ID}:matchIntent\" \\\n  -H \"Authorization: Bearer ${TOKEN}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"queryInput\": {\n      \"text\": {\n        \"text\": \"Hello\"\n      },\n      \"languageCode\": \"en\"\n    }\n  }'\n\nCreate Test Case\ncurl -X POST \\\n  \"https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}/testCases\" \\\n  -H \"Authorization: Bearer ${TOKEN}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"displayName\": \"Greeting Test\",\n    \"testCaseConversationTurns\": [\n      {\n        \"userInput\": {\n          \"input\": {\n            \"text\": {\n              \"text\": \"Hi\"\n            }\n          }\n        },\n        \"virtualAgentOutput\": {\n          \"textResponses\": [\n            {\n              \"text\": [\"Hello!\"]\n            }\n          ]\n        }\n      }\n    ]\n  }'\n\nKey Resources\nResource\tDescription\nSessions\tConversation instances with state\nDetect Intent\tProcess user input and get responses\nTest Cases\tAutomated conversation testing\nQuick Reference\n\nFor detailed API reference:\n\nConversations & Testing: See references/conversations.md\nScripts\nscripts/conversations.py — CLI wrapper for conversation operations\nUsage\npython scripts/conversations.py detect-intent --agent AGENT_NAME --text \"Hello\"\npython scripts/conversations.py match-intent --agent AGENT_NAME --text \"Hello\"\n\nTips\nSession IDs can be any unique string (e.g., UUID)\nUse detectIntent for full conversation flow, matchIntent for testing without state changes\nTest cases help validate conversation logic before deployment"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Yash-Kavaiya/dialogflow-cx-conversations",
    "publisherUrl": "https://clawhub.ai/Yash-Kavaiya/dialogflow-cx-conversations",
    "owner": "Yash-Kavaiya",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/dialogflow-cx-conversations",
    "downloadUrl": "https://openagent3.xyz/downloads/dialogflow-cx-conversations",
    "agentUrl": "https://openagent3.xyz/skills/dialogflow-cx-conversations/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dialogflow-cx-conversations/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dialogflow-cx-conversations/agent.md"
  }
}