createForm Mutation
Creates a configured form that can create actions or projects or send email according to its targets. Match input elements to the data they collect. Resolve project IDs first; top-level projectId and actionsData.projectId must be 17-character alphanumeric IDs. The newProject sentinel is valid only when target includes action and project. Each creationConditions entry requires fieldId, comparisonOperator, and value. The number field type is unsupported. panel and paneldynamic containers require non-empty nested field arrays.
Arguments
#
target
Array of form targets that determine what happens on form submission. Must be one or more of: action, project, mapToProject, email, emailToSubmitter
members
Array of member user IDs who can access this form. For AI Assistant: Include the current user's ID in this array if not provided.
sharingType
Form sharing type ('me', 'custom', 'everyone').
- 'me': Only creator can access
- 'custom': Specified members/teams can access
- 'everyone': All workspace members can access
setFormNameToTitle = true
Whether to include form name in generated titles. Defaults to true
setDateAndUserNameToTitle = true
Whether to include date and username in generated titles. Defaults to true
setCardNumberToTitle = true
Whether to include card number in generated titles. Defaults to true
setTemplateNameToTitle
Whether to include template name in generated titles. Defaults to false
allowProgressionTracking
Whether to allow tracking form submission progress. Defaults to false
allowAccessToWhitelistedDomains
Whether to restrict form access to specific email domains. Defaults to false
Response
#
Returns Form !.
Example
#
createFixedAsset
createGLAccount