Font Size:
Ask Joget AI

AI Form Data Generator Tool

Introduction

AI Form Data Generator Tool is a post-processing plugin that generates realistic sample data for a Joget form using an LLM (configured via model + API key + proxy domain). It can populate the selected form, and if the form contains Form Grid / Spreadsheet Grid, it can also generate data for the child records automatically.

Plugin Information

Plugin available in the bundle:

  1. AI Form Data Generator Tool

This plugin bundle is compatible with Joget DX 9.

Get Started

Prerequisites

To start using this plugin, you must first have:

  1. An OpenAI API key
    1. Go to the OpenAI website https://platform.openai.com/docs/overview. Sign in to your account.
    2. Go to Settings > API Keys.
    3. Create a new secret key.
    4. Copy and save it somewhere (you typically won’t be able to view it again)
Note
You will need to store this key as an App Variable later in your Joget app (recommended), so the plugin can reference it securely (e.g. #appVariable.apiKey#).

Where to get the plugin

  1. You can obtain the .jar file from the Joget Marketplace or https://github.com/jogetoss/ai-form-data-generator-tool/releases/tag/8.0.0.
  2. Upload the plugin .jar file in Joget via Settings > Manage Plugins.

Steps for Creating the App from Scratch

  1. Step 1: Create an App Variable for the API key, and enter the API Key from the prerequisites step.
  2. Step 2: In Form Builder, create a form called “Generate Data”, This will be the main form. This is the form users will use to choose which App + Form to populate, plus provide optional context.
  3. Step 3: Attach and configure the Post Processing Tool (on the Generate Data main form)
  4. Go to Settings > Advanced. In Post Form Submission Processing section, set Post Processing Tool to Form Data Generator Tool.
  5. Go to the next page (Post Processing Tool) in the Configure Form Data Generator Tool page. Configure the two sections:
    Configuration:
    • Model: Select the model to use (e.g. gpt-3.5-turbo – 4,096)
    • API Key: Use the App Variable you created at app level (e.g. #appVariable.apiKey#)
    • Proxy Domain: Use https://api.openai.com (or your proxy domain if applicable)

Form Settings:

    • Form: Select the current form (your main form, e.g. Generate Data)
    • App Field: Select the field used to choose the App (e.g. app_field)
    • Form Field: Select the field used to choose the Form (e.g. form_field)
    • Context Field: Select the field used to pass additional instructions (e.g. context_field)

Save the configuration and save the form.

  1. Configure your target form (the form to populate). This is the form you want the plugin to generate data into. Go to Form Builder. Create or open the target form you want to populate.
Note
For FormGrid and SpreadsheetGrid, the plugin currently supports only the Multiple Form Row Binder. It automatically detects if a parent form contains grids or spreadsheets and generates data for both the main form and its child elements.

 

Steps to run the plugin

  • Go to your UI page that contains the Generate Data form
  • Select an App
  • Select a Form (filtered based on the selected App)
  • (Optional) Enter Context
  • Submit the form
  • The plugin runs after submission and generates data.

AI Form Data Generator Tool Properties

Fields to configure:

  • Model – The AI model used to generate data.
  • API Key – The OpenAI API key (recommended: #appVariable.apiKey#).
  • Proxy Domain – The API endpoint base URL (example: https://api.openai.com).
  • Form – The main “Generate Data” form.
  • App Field – Field ID that stores selected App (example: app_field).
  • Form Field – Field ID that stores selected Form (example: form_field).
  • Context Field – Field ID that stores extra instructions (example: context_field).

Expected outcome

  • Generates data for the selected form fields.
  • If the selected form contains Form Grid or Spreadsheet Grid, it generates child rows too.
  • For FormGrid/SpreadsheetGrid, Multiple Form Row Binder is required. 

Download the App from the AI Form Data Generator Tool.

Created by Nabila Jahan Last modified by Debanraj Ravindran on Mar 13, 2026