28.1 AI-Assisted Legal Page Generation

AIUNIFY Leads includes an AI workflow for suggesting, generating, and saving Website Legal Pages.

The AI Legal Page tools use information about the selected Website, its business context, and its configured Website Languages.

28.2 Generate with AI Requirements

The confirmed Generate with AI control requires:

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

28.3 AI Configuration Error

If the AI integration is not configured, the confirmed service response is:

AI is not configured. Please configure AI settings first.

28.4 Website Languages Are Required

The AI Legal Page button retrieves the selected Website's configured Languages before opening the generation workflow.

If no Languages are available, the interface displays its no-languages-configured warning instead of starting generation.

28.5 Existing Slugs Are Checked

Before opening the AI generator, AIUNIFY Leads retrieves the Website's existing Legal Page Slugs across its languages.

This gives the generation interface information about Legal Pages that already exist for the Website.

28.6 Website Information Used for Generation

The AI Legal Page workflow can use:

  1. Website identifier.
  2. Website Name.
  3. Business or Website Category.
  4. Business or Website Description.
  5. Optional additional requirements.
  6. Configured Website Languages.

28.7 Legal Page Suggestions

AIUNIFY Leads includes a dedicated Legal Page suggestion stage.

The AI prompt is designed to recommend Legal Pages appropriate for the supplied business context.

Examples explicitly included in the confirmed generation logic are:

  1. Privacy Policy.
  2. Terms of Service.
  3. Cookie Policy.
  4. Refund Policy when applicable to the business type.

These are generation examples rather than a statement that every business legally requires every listed page.

28.8 Generated Legal Page Content

The AI generation logic can request the following for each Legal Page:

Generated Value Purpose
Title Legal Page title.
Slug URL-friendly page identifier.
Content Full HTML Legal Page content.
Meta Title Search metadata title.
Meta Description Search metadata description.
Meta Keywords Search metadata keywords.
Language Key Identifies the Website Language for the generated entry.

28.9 Multilingual Generation

The confirmed AI prompt instructs the generation process to create separate Legal Page entries for each required Website Language.

For RTL languages, the AI prompt also instructs the model to translate the content appropriately.

28.10 Generate Content

After Legal Page suggestions are selected, the AI workflow can generate the complete content and metadata for those pages.

Review each generated language version before saving it.

28.11 Saving AI-Generated Legal Pages

The save operation requires a valid Website identifier and a non-empty collection of generated Legal Pages.

The confirmed errors include:

  1. Website ID is required.
  2. No legal pages to save.
  3. Website not found.
  4. No languages found for this website.

28.12 Actual Website Languages Control Saving

During saving, the server retrieves the Website's actual configured Website Language records.

Each generated entry is matched by its Language Key. If the generated Language Key does not match an actual Website Language, that entry is skipped.

28.13 Existing Legal Pages Are Updated

The save workflow checks for an existing Legal Page matching:

  1. The Website.
  2. The Website Language.
  3. The Slug.

If a matching entry already exists, AIUNIFY Leads updates its Title, Content, Meta Title, Meta Description, and Meta Keywords.

28.14 New Legal Pages Are Created

If no matching Website/Language/Slug entry exists, the AI save workflow creates a new Legal Page and places it after the current maximum Display Order.

28.15 Review AI-Generated Legal Content

Important: AI-generated legal content should be treated as a draft. AIUNIFY Leads can generate text and page structure, but it cannot determine every legal obligation that applies to a particular company, jurisdiction, product, transaction, or industry.

Before public use, the responsible business should verify the generated content for accuracy, completeness, applicable law, actual business practices, contact information, refund practices, data practices, and other requirements. Obtain qualified legal review where appropriate.

28.16 Recommended AI Legal Page Workflow

  1. Select the correct Website.
  2. Verify all required Website Languages.
  3. Verify AI access and configuration.
  4. Open Generate with AI.
  5. Review the suggested Legal Pages.
  6. Select only pages appropriate for the business.
  7. Generate the Legal Page content.
  8. Review every generated language version.
  9. Save the approved drafts.
  10. Review Status, Show in Footer, Slugs, and metadata.
  11. Complete the appropriate business or legal review.
  12. Open each public Page URL and verify the final presentation.
Write Your Comment