Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
User → Create Multiple
AI-generatedOverview
This node operation allows creating multiple user accounts in a system by providing an array of user data objects in JSON format. It is useful for batch user creation scenarios, such as onboarding multiple users at once or migrating users from another system. For example, you can create several users with their email, password, and role information in a single execution.
Use Case Examples
- Creating multiple users by providing an array of user objects with email, password, and role fields.
- Batch importing users into a system from a JSON data source.
Properties
| Name | Meaning |
|---|---|
| Data (JSON) | An array of partial user objects containing user details such as email, password, and role to be created in bulk. |
Output
JSON
id- The unique identifier of each created user.email- The email address of each created user.role- The role assigned to each created user.
Dependencies
- Requires API authentication credentials to interact with the user management system.
Troubleshooting
- Ensure the JSON data is correctly formatted as an array of user objects; invalid JSON will cause errors.
- Check that required fields like email, password, and role are included for each user object.
- API authentication errors may occur if credentials are missing or invalid; verify API key or token configuration.
- Role IDs must be valid and exist in the system; otherwise, user creation will fail.
Links
- Directus User Object Documentation - Reference for the user object structure used in the JSON data input.