createForm Mutation
This mutation creates a new form with all its configuration and content. The form can be used to create actions, projects, or send emails based on the target field. Form should use different input elements for different types of data.
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
#
createDashboardWidget
createGoal