update_intent
Update an existing intent in a Cognigy.AI flow. Validate with dryRun, then retrain the NLU model.
Instructions
Updates an existing intent in a Cognigy.AI flow. MUTATING: This modifies the intent. Use dryRun=true (default) to validate first. After updating, call train_intents to retrain the NLU model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New intent name | |
| tags | No | New tags array (replaces existing) | |
| rules | No | New rule patterns (replaces existing) | |
| dryRun | No | If true (default), validates without updating. Set to false to actually update. | |
| flowId | Yes | The flow ID containing the intent | |
| intentId | Yes | The ID of the intent to update | |
| localeId | No | Locale ID for locale-specific updates | |
| condition | No | New CognigyScript condition | |
| isDisabled | No | Whether the intent is disabled | |
| description | No | New description | |
| confirmationSentences | No | New confirmation sentences (replaces existing) | |
| disambiguationSentence | No | Sentence shown when disambiguating between intents |