Skip to content

AI Assistant Pro ​

The AI Assistant helps in the builder: it drafts a form from a description, reviews a form, and writes a notification email template. It uses your own account with OpenAI, Anthropic or Google Gemini, and the provider may charge that account. It comes with NXForms Pro.

Set it up ​

Go to Components → NXForms → Options → AI Assistant. Only users allowed to change Options can set it up.

The AI Assistant tab of the NXForms Options: the switch, the notice, the acknowledgement and the provider

  1. Read the notice and the provider's terms, linked on the screen.
  2. Choose the Provider and paste your API key from that provider.
  3. Set I acknowledge the risks above to Yes.
  4. Set Enable AI Assistant to Yes, and save.

The API key is stored encrypted and isn't shown again; Modify replaces it. Choosing another provider clears the acknowledgement, so set it to Yes again before saving.

Test connection sends one short request with the saved settings, to check the key.

Model and limits ​

  • Model: the provider's models. Refresh models fetches the current list from the provider. Custom model id (optional) uses a model that isn't in the list yet.
  • Maximum output tokens per call: 8000 by default.
  • Calls per admin per hour and Calls per site per day: 20 and 200 by default, to keep costs under control. The daily count starts again at midnight UTC.

Use it in the builder ​

In Full mode, select AI Assistant above the canvas, then choose what to do and select Run:

  • Generate form: describe the form you want. The assistant proposes fields and settings; tick the ones you want and select Apply selected to form. Nothing is stored until you save the form.
  • Review form: a list of findings about the open form. It changes nothing.
  • Notification template: a draft of the notification email.

Check what the assistant suggests before you save: AI output can be wrong.

What is sent to the provider ​

  • Your instructions, and the open form's title, alias, fields and settings.
  • Passwords, keys and other secrets in the form's settings are replaced with [redacted].
  • Entries that visitors have sent are never included.

Don't put passwords, customer data or payment details in your instructions. How long the provider keeps requests, and whether it uses them for training, depends on its terms and your account; the notice on the AI Assistant tab summarises each provider's terms.