Create a data field
create_data_fieldCreate reusable form fields for company-wide forms. Specify label, field type, and choices for field options to collect attendee information.
Instructions
Create a reusable form field, company-wide. Choice fields need options; text fields do not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Internal key. Derived from the label if omitted. | |
| label | Yes | Shown to the person filling the form | |
| target | No | Maps the answer onto a known attendee field rather than a custom one | |
| options | No | For choice fields: [{ label, value }] | |
| required | No | ||
| fieldType | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | Internal key | |
| label | No | ||
| target | No | ||
| options | No | Choices, for choice fields | |
| required | No | ||
| fieldType | No |