@extends('layouts.app') @section('title', 'Update Care Worker Services') @section('content') @include('partials.flash')
arrow_back Users

Update Care Worker services

Reassign existing users to a service in bulk — e.g. move Care Workers to a different home. Matches users by email and updates their location.

@include('admin.imports._tabs')
{{-- Upload --}}
upload_file

Upload JSON

download Download sample JSON
@csrf @error('file')

{{ $message }}

@enderror

JSON array of email → service · up to 5000 per import.

bolt

Runs in the background (queue). Each Care Worker is moved to the new home, their direct manager is set to that home’s Service Manager, and any home-required e-learning is assigned. A queue worker (php artisan queue:work) must be running — check Background Jobs.

{{-- Format reference --}}
description

File format

Required fields

Example rows

{ "email": "worker@site.com", "location": "Peewit Road" }
{ "email": "another@site.com", "location_service_id": 12 }

Rows with an unknown email or service are skipped — reasons appear in the completion notification. Re-running is safe.

@endsection