create_intent
Create a new intent in a Cognigy.AI flow for NLU recognition. Validate with dry run first, then train the model.
Instructions
Creates a new intent in a Cognigy.AI flow for NLU recognition. MUTATING: This modifies the flow. Use dryRun=true (default) to validate first. After creating, use train_intents to train the NLU model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Intent name (unique within the flow) | |
| tags | No | Tags for organizing intents | |
| rules | No | Additional rule patterns for matching | |
| dryRun | No | If true (default), validates without creating. Set to false to actually create. | |
| flowId | Yes | The flow ID where the intent will be created | |
| condition | No | CognigyScript condition for additional matching constraints | |
| isDisabled | No | Whether the intent is disabled (won't match) | |
| description | No | Human-readable description of what this intent recognizes | |
| exampleSentences | No | Initial training sentences for the intent | |
| confirmationSentences | No | Sentences used for intent confirmation |