25.1 AI Page Generation

AIUNIFY Leads can generate Website Page recommendations with AI and save the selected results directly into the Website Pages structure.

The same AI Page Generation component can be used as part of the complete AI Website Wizard and from the Website Pages workflow where the required access conditions are satisfied.

25.2 Generate with AI Button Requirements

The confirmed Website Pages AI button requires:

  1. The AI feature to be enabled.
  2. website_pages_create permission or administrative access.
  3. ai_features_access permission or administrative access.
  4. AI to be configured.
  5. A selected Website.

25.3 Information Sent for Page Generation

The confirmed Page Generation request supplies:

Input Purpose
Website ID Identifies the Website being built.
Category Provides business or website classification context.
Description Provides business and website context for the AI.
Requirements Provides optional additional page-generation instructions.
Languages Provides language context to the generation interface.

25.4 Website ID Validation

The server requires a Website ID.

If it is missing, the confirmed error is:

Website ID is required.

25.5 Website Must Exist

After decoding the Website identifier, the AI service verifies that the Website exists.

If it cannot be found, the confirmed error is:

Website not found.

25.6 Website Languages Come from the Database

Although language information is supplied by the interface, the server retrieves the Website's actual Website Language records from the database and uses those records when constructing the AI language list.

This prevents generation from relying only on arbitrary language data submitted by the client.

25.7 At Least One Website Language Is Required

If the selected Website has no Website Languages, the confirmed error is:

No languages found for this website. Please add languages first.

Return to Website Languages, add the required language configuration, and then retry AI Page Generation.

25.8 Generate Pages

Start the process using the available AI Page Generation action.

The AI service generates a page structure appropriate to the Website information and configured Website Languages.

25.9 Reviewing Generated Pages

Generated pages are initially presented as enabled choices in the confirmed interface.

Review the generated pages before saving them.

Disable any generated page you do not want to save.

25.10 At Least One Page Must Be Selected

The Save process filters the generated result to the pages that remain enabled.

If none remain enabled, the interface displays its Select at least one page warning instead of sending an empty Page set for saving.

25.11 Saving Generated Pages

When the selected pages are ready, save them.

The confirmed save operation submits the selected Page definitions to:

ai/save-generated-pages

25.12 Existing Page Keys Are Updated

During saving, AIUNIFY Leads checks whether a generated Page Key already exists for the selected Website.

If the Page already exists, the workflow updates its language translations rather than creating a second Website Page with the same Page Key.

25.13 New Page Keys Are Created

If a generated Page Key does not already exist, AIUNIFY Leads creates a new Website Page.

New generated Pages are appended after the Website's current page sort order.

25.14 Translations for Actual Website Languages

For each generated Page, the save process creates or updates translations associated with the Website's actual configured Website Languages.

Each applicable translation can store:

  1. The translated page Name.
  2. The Page's Show in Header value.

25.15 Missing AI Translation Fallback

If the AI response does not provide a translation for one of the Website's configured Languages, the server still creates or updates that language's page translation.

It generates a readable fallback Name from the Page Key.

For example:

about-us can fall back to a readable form based on About us.

This fallback preserves the Page structure, but the resulting wording should be reviewed and translated properly before publication.

25.16 Page Save Confirmation

The confirmed successful server response is:

Pages saved successfully

The response reports the number of Pages that were:

  1. Created.
  2. Updated.

25.17 AI Page Generation Does Not Finish the Page Design

Saving the Website Page records establishes the Page structure and translations. The Page's full visual content is managed separately through Website Builder sections.

After saving AI-generated Pages, continue into Website Builder to create or generate the actual sections for those Pages.

25.18 Post-Generation Review

After AI-generated Pages are saved:

  1. Open Website Pages.
  2. Confirm the expected Page Keys.
  3. Review each translated Page Name.
  4. Review Show in Header for each language.
  5. Reorder Pages if necessary.
  6. Open Website Builder.
  7. Create or generate Page sections.
  8. Preview each public Page and Language.

25.19 Recommended AI Page Workflow

  1. Select the correct Website.
  2. Verify its Website Languages.
  3. Open Generate with AI.
  4. Provide any additional Page requirements.
  5. Generate the Page suggestions.
  6. Review the generated Pages.
  7. Disable Pages that should not be created.
  8. Save the selected Pages.
  9. Review created versus updated counts.
  10. Review translations and navigation visibility.
  11. Build the visual Page content in Website Builder.
Write Your Comment