Install
openclaw skills install dialogflow-cx-to-ces-migrationFull production-grade migration of a Dialogflow CX agent (v3beta1) to Google Customer Engagement Suite (CES) Conversational Agents. Migrates flows→sub-agents, pages→instructions, intents→routing hints, entity types, webhooks→tools, and test cases→golden evaluations CSV. Includes retry logic, dry-run mode, and a complete migration report.
openclaw skills install dialogflow-cx-to-ces-migrationMigrates a Dialogflow CX v3beta1 agent to Google Customer Engagement Suite (CES) Conversational Agents format, producing:
| Output File | Contents |
|---|---|
ces_agent.json | CES agent definition (importable via Console or REST API) |
golden_evals.csv | CES batch evaluation CSV (golden test cases) |
entity_types.json | Entity type definitions for manual re-creation |
migration_report.md | Full migration summary with next steps |
| Dialogflow CX | → | CES Conversational Agents |
|---|---|---|
| Agent | → | Agent Application + Root Agent |
| Flow (non-default) | → | Sub-Agent |
| Pages + Routes | → | Agent Instructions (natural language) |
| Intent training phrases | → | Root agent routing hints |
| Entity Types | → | Exported JSON (manual import) |
| Webhook | → | Tool (OpenAPI schema) |
| Form Parameters | → | Instruction slot-filling steps |
| Test Cases | → | Golden Evaluations CSV |
gcloud auth application-default loginpip install google-cloud-dialogflow-cx google-authpython migrate.py \
--project YOUR_PROJECT_ID \
--agent-id YOUR_AGENT_UUID \
--output ./migration_output
python migrate.py \
--project YOUR_PROJECT_ID \
--agent-id YOUR_AGENT_UUID \
--dry-run
python migrate.py \
--project YOUR_PROJECT_ID \
--agent-id YOUR_AGENT_UUID \
--location us-central1 \
--output ./migration_output
python migrate.py \
--project genaiguruyoutube \
--agent-id 3736c564-5b3b-4f93-bbb2-367e7f04e4e8 \
--output ./carconnect_ces
Expected output:
ces_agent.json — check sub-agent instructions make sense, update tool endpointsces_agent.jsongolden_evals.csventity_types.json (CES uses them as tool parameters)All Google API calls use exponential backoff (up to 4 attempts, base delay 1.5s × 2ⁿ). If the API is rate-limited or temporarily unavailable, the tool retries automatically.
$session.params.X) are preserved as-is in instructions but may need updating for CES parameter syntax.When running autoresearch on this skill, use these evals:
ces_agent.json?ces_agent.json?entity_types.json?golden_evals.csv has correct header + at least one golden eval row?migration_report.md exists and contains a stats table?