User:Stwalkerster/accautocreate

Automatic creation of accounts and welcoming
Note: Currently, this is in the process of being slowly rolled out, so may not be available to you yet.

The tool supports both manual creation of accounts, and automatic creation of accounts via OAuth.

To support automatic creation of accounts, you must have the "High-volume editing" and the "Create accounts" grants enabled (this is the default). As of March 2021, this is also gated behind a separate tool user role during the process of slowly rolling this functionality out.

You should see a set of radio buttons next to the account creation buttons on the View Request page which allows you to choose a method to create the account - either manually (using the existing process), or automatically. You can choose your default method of account creation in Preferences, under "Account Creation Method". Automatic creation handles the creation of the account as part of closing the request, so for automatic creation all you need to do once you have decided to accept the request is choose a close type.

In the background, the tool will queue up the request to be created and closed - you will see the request move to the "Job queue" status, and a creation job will appear in the "Job Queue" page, accessible from the "View job list" button above the request log. If you need to cancel the creation for whatever reason, resetting the request will cancel the queued jobs. There will be a slight delay between queuing a request for creation and the actual creation taking place - depending on the exact time the request was queued, this will likely be between two and four minutes.

Custom closes also support automatic creation. To use automatic creation with a custom close, choose the "Create account & close request as created" option under "Action to take".

In case of a creation failure (for example if an AntiSpoof hit is detected) the request will be deferred to a "hospital" queue and an announcement will be made by the bot on IRC. If this happens, you can check the jobs to discover why the creation failed, and handle this manually.

Welcoming
The tool can now also automatically leave users you create a welcome template. While this functionality existed several years ago via a bot, the usage of the bot was deprecated in preference to the current system which uses your account via OAuth.

To support automatic welcoming, you must have the "High-volume editing" and the "Create, edit, and move pages" grants enabled (this is the default). You must also choose a welcome template from the "Welcome Template Management" page - if the template you want to use is not listed, please contact a tool admin to add it for you.

Once you have chosen a template, every user you create via the tool will have their user talk page created with that welcome template. Additionally, a new switch will appear beside the creation button allowing you to skip the welcome for this specific request.

In case of a welcoming failure (for example if the user does not exist or the user talk page already exists), a job failure will be noted in the job queue, and an announcement will be made by the bot on IRC. If this happens, you can check the jobs to discover why the welcoming failed, and handle this manually.