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.
The confirmed Website Pages AI button requires:
website_pages_create permission or administrative access.ai_features_access permission or administrative access.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. |
The server requires a Website ID.
If it is missing, the confirmed error is:
Website ID is required.
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.
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.
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.
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.
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.
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.
When the selected pages are ready, save them.
The confirmed save operation submits the selected Page definitions to:
ai/save-generated-pages
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.
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.
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:
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.
The confirmed successful server response is:
Pages saved successfully
The response reports the number of Pages that were:
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.
After AI-generated Pages are saved: