Overview
Batch Migration allows you to create multiple new pages from a set of source URLs and transition them into your new design system. This is ideal for onboarding legacy content, platform migrations, or transitioning pages to updated templates at scale. Think of batch migration as running many New Page tasks simultaneously—Gradial reads content from your source pages and recreates them using your AEM templates and Design System patterns.Prerequisites
Before starting a migration, ensure you have:- Golden Pages created for each target template type — see Golden Pages Guide
- Design System patterns ingested from those Golden Pages — see Design Pattern Ingestion
- Target pages created in AEM — the destination pages should already exist in your content structure
- Source URLs accessible — Gradial needs to read from your source pages
Migration Workflow Overview
Step 1: Prepare Your Migration Spreadsheet
The migration spreadsheet is the most important part of the process. A well-prepared spreadsheet with detailed instructions produces much more accurate results.Required Columns
| Column | Description | Example |
|---|---|---|
| Instructions | Detailed prompt telling Gradial how to handle this page | See below |
| Live Link | Source URL to migrate content from | https://www.example.com/old-page |
| Migrated Page Path | AEM content path for the destination | /content/mysite/en/new-page |
| Author URL | Full AEM author URL for the destination | https://author.example.com/editor.html/content/mysite/en/new-page.html |
| Preview URL | Author URL with preview parameter | https://author.example.com/content/mysite/en/new-page.html?wcmmode=disabled |
Optional Columns
Depending on your migration needs, you may include additional columns:- Pattern Recommendations — Specify which Design System patterns to use for each page
- Site Group — For sites with dynamic content segmentation
- Template Reference — Explicitly specify which template to use
- Custom metadata — Any page-specific information the agent should know
Writing Effective Instructions
The Instructions column is where you tell Gradial exactly how to handle each page. More detail produces better results. Example instruction:Pattern Recommendations
For each page, specifying which patterns to use and where improves accuracy significantly:Step 2: Create the Batch Task
Navigate to Batch Tasks
From the left navigation, select Batch Tasks, then click New Batch in the top-right corner.Configure the Batch
- Enter a descriptive name for the batch (e.g., “Blog Migration - January 2025”)
- Add an optional description
- Verify the correct Workspace and Environment are selected
Tip: For initial testing, name your batch clearly (e.g., “Blog Migration - TEST RUN”) so you can easily identify and clean up test batches later.
Import Your Spreadsheet
- Click Bulk Add to open the import screen
- Select New Page as the task type
- Upload your Excel file containing the migration data
- The first row will be used as headers; each subsequent row becomes a task
Configure Task Properties
Before creating tasks, you can set properties that apply to all tasks:- Assignee — Who owns these tasks
- Approver — Who reviews completed tasks
- Template — The AEM template to apply
Create Tasks
Click Create Tasks (or “Create xx threads”). Each row in your spreadsheet becomes an individual task within the batch.Important: Creating tasks does not run them. Review the imported tasks before executing the batch.
Step 3: Run a Test Batch First
Before running a large migration, always test with 1-2 pages to validate your setup.Why Test First?
- Verify your instructions produce the expected results
- Check that patterns render correctly
- Identify any adjustments needed to your spreadsheet
- Avoid having to fix issues across hundreds of pages
Running Selected Tasks
- From the batch task table, select specific tasks using the checkboxes
- Click Run Batch — only selected tasks will execute
- Review results before running the full batch
Evaluating Test Results
After test tasks complete:- Click into each task to see the instructions and results
- Open the AEM Authoring Agent report to see what actions were taken
- Preview the migrated page in AEM to verify content and layout
- Note any adjustments needed for your instructions or pattern recommendations
Step 4: Run the Full Batch
Once satisfied with test results, run the complete migration.Execute the Batch
- Click Run Batch from the batch task view
- The button shows the total number of tasks to process
- Confirm to start processing
Monitor Progress
During execution, you’ll see:- Progress bar showing overall batch completion percentage
- Task list with status indicators for each task:
- 🔵 Running — Task is being processed
- 🟢 Done — Task completed successfully
- 🔴 Error — Task encountered an issue
Processing Time
Migration tasks take longer than simple content updates because Gradial must:- Read and analyze the source page
- Map content to appropriate patterns
- Create or update the destination page in AEM
- Upload any assets to the DAM
- Optionally run QA checks
Step 5: Review and Promote
Review Completed Tasks
After the batch completes:- Navigate back to the task list
- Click into individual tasks to review:
- The original instructions
- The agent’s action report
- Any summary messages or QA findings
Promote Launches
Migrated pages are created as AEM Launches, not published directly. To make them live:- Select tasks ready for promotion (individually or use the header checkbox to select all visible)
- Click Promote Launches
- For batches with multiple pages of tasks, navigate to each page and repeat
Note: Promoting a launch does NOT publish the page. Publication still follows your organization’s standard AEM workflow and governance processes.
Handle Issues
If QA reveals issues with migrated pages:- Create follow-up tasks in Gradial to make corrections
- Use Content Updates for copy changes, component adjustments, or styling fixes
- Iterate until pages meet quality standards
Best Practices
Spreadsheet Preparation
- Be detailed in instructions — More context produces better results
- Specify patterns explicitly — Don’t rely on the agent to guess which patterns to use
- Include all URLs — Provide both author and preview URLs for easy verification
- Test your spreadsheet — Run a small batch first to validate your setup
Batch Organization
- Use clear naming conventions — Makes tracking and cleanup easier
- Group similar pages — Batch pages that use the same template and patterns together
- Keep batches manageable — Consider splitting very large migrations into multiple batches
Quality Assurance
- Review before promoting — Check migrated pages in AEM preview
- Use the QA agent — Let Gradial flag potential issues automatically
- Plan for iteration — Expect some pages will need follow-up adjustments
Execution
- Test first, always — Run 1-2 pages before the full batch
- Monitor progress — Watch for errors during batch execution
- Promote in batches — Review and promote pages in manageable groups
Troubleshooting
| Issue | Likely Cause | Solution |
|---|---|---|
| Tasks fail to run | Source URL inaccessible | Verify source pages are accessible to Gradial |
| Wrong patterns used | Instructions not specific enough | Add explicit pattern recommendations |
| Content missing | Source page structure unexpected | Review source page and update instructions |
| Images not migrated | DAM path not specified | Add DAM upload path to instructions |
| Tasks stuck in “Running” | Processing complex page | Allow more time; check for errors |
Related Resources
- Golden Pages Guide — Creating reference pages for pattern ingestion
- Design Pattern Ingestion — Setting up your Design System
- New Page Workflow — Creating individual new pages
- Content Updates — Making changes to existing pages
- Batch Updates — Updating multiple pages at once