@extends('layouts.app') @section('title', 'Import Users') @section('content') @include('partials.flash')
Upload a JSON file to create many users at once. They’re created in the background and emailed their credentials.
Importing runs in the background (queue). Users are created, auto-enrolled in required training, and emailed a temporary password with a set-password link. You’ll get a notification when it finishes.
A queue worker (php artisan queue:work) must be running to process it — check Background Jobs.
Required fields
first_name, email, roleOptional fields
last_name, position, mobile_phone, personal_email, title, employment_start_datelocation — their primary service: care home name (or location_service_id), for operational rolessecondary_services — other services they also work at: a list of names, e.g. ["Anstey", "The Gables"] or "Anstey; The Gables"password — omit to auto-generate a secure oneValid roles
Rows with a missing/invalid email, a duplicate email, or an unknown role are skipped — you’ll see the reasons in the completion notification.