set_contact_profile_schema
Add or update custom fields in a Cognigy.AI project's contact profile schema while preserving built-in and unlisted custom fields. Run with dryRun false to apply changes.
Instructions
Adds or updates custom fields in the Cognigy.AI contact profile schema of a project. Built-in fields (firstname, email, ...) always exist; existing custom fields not listed are kept. MUTATING: Set dryRun=false to update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without updating. Set to false to actually update. | |
| schema | Yes | Custom fields to add or update. Existing custom fields with the same internal name are replaced; others are kept. | |
| projectId | Yes | The project ID to set the profile schema for |