Bulk Autofill
Autofill Pro includes a console workflow for running an Autofill field across one or more existing entries. This is useful when you want to backfill content, refresh generated fields, or apply the same Autofill profile to a batch of entries.
Bulk Autofill uses the same field configuration, model configuration, prompts, and field adapters as the editor workflow. The important difference is that bulk runs apply normalized suggestions automatically, so it should be used carefully.
Command
./craft autofill/bulk/run --field-slug=autofillProfile --entry-ids=10,11,12You can identify the Autofill field by field handle or field ID:
- --field-slug: the Autofill field handle
- --field-id: the Autofill field ID
Options
- --entry-ids: comma-separated entry IDs to process
- --site-id: optional site ID
- --user-prompt: optional text-based input to include in the generated prompt
What Happens
For each entry, Autofill builds the prompt, sends the request to the selected model, normalizes the generated suggestions, applies each suggestion to the entry, and saves the entry.
Because bulk runs do not pause for editor review, test the Autofill field on a small number of entries first. Use Test Mode and request logs to confirm the prompts and responses look right before running a larger batch.