Documentation

Batch Operations

NettPortal supports batch creation of customers for efficient bulk provisioning.

Overview

Batch operations allow you to create multiple customers at once with pattern-based usernames and shared configuration. This is ideal for:

  • Initial system setup
  • Migrating from another platform
  • Creating test accounts
  • Bulk provisioning for events
  • Preparing voucher systems

Batch Customer Creation

Accessing Batch Creation

  1. Navigate to Customers page
  2. Click the Batch Add button (gray button, next to "Add Customer")
  3. You'll see the batch creation form

Configuration Options

Basic Settings

  • Number of Users: How many customers to create (1-1000)
  • Username Prefix: Base for usernames (e.g., "customer")
  • First Name Prefix: Optional prefix for first names (defaults to username prefix)
  • Last Name: Common last name for all users (default: "User")

Username Generation Pattern:

  • Format: prefixnumber
  • Example: Prefix "customer" creates: customer001, customer002, customer003...
  • Numbers are zero-padded (001, 002, ...)
  • All lowercase, alphanumeric

Router Connection

  • Service Type: PPPoE, Hotspot, or Both (applied to all users)
  • Router: Select router (optional, but recommended for auto-provisioning)
  • Settings are applied to all created customers

Package Assignment

  • Package: Select a package to assign to all users (optional)
  • If assigned, router users are automatically created with package limits
  • All users get the same package and limits

Password Settings

  • Auto-generate Passwords: Enable to generate random passwords (recommended)
  • Password Length: Length of generated passwords (default: 8)
    • Minimum: 6 characters
    • Maximum: 32 characters
  • Password characters: Alphanumeric, excluding confusing characters (0, O, I, l)

Advanced RouterOS Settings

All advanced settings are applied to every created customer:

  • Static IP Address: Assign same static IP to all (rare, but possible)
  • Remote IP Address: Hotspot remote IP (Hotspot only)
  • Custom Routes: Routes applied to all customers
  • Status: Initial status for all customers
  • Comment: Common comment for all customers

Results & CSV Export

After batch creation:

Success Summary:

  • Number of customers created
  • Number of failures
  • List of errors (first 5 shown, with total count)

CSV Export:

  • Contains all successfully created customers
  • Columns: Username, Password, First Name, Last Name
  • File name: customers_prefix_date.csv
  • Includes auto-generated passwords

Best Practices

  • Start Small: Test with 5-10 users before large batches
  • Use Unique Prefixes: Avoid conflicts with existing usernames
  • Assign Packages: Auto-provisioning saves manual work
  • Download CSV Immediately: Save credentials securely
  • Verify Results: Check a few customers after batch creation
  • Use Descriptive Comments: Helps identify batch-created customers
  • Test Router Connection: Ensure router is online before batch creation

Related Documentation

Batch Operations - Documentation - NettPortal