Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Generate → Mock Data User
AI-generatedOverview
This node operation generates mock user data based on specified parameters. It is useful for creating sample user profiles for testing, development, or demonstration purposes without using real personal data. Users can specify the amount of mock users to generate and select which user attributes to include, such as email, avatar, password, birth date, username, address, phone number, creation date, and balance.
Use Case Examples
- Generating 10 mock users with email, username, and phone number for testing a user management system.
- Creating a single mock user profile with avatar and birth date for UI design mockups.
Properties
| Name | Meaning |
|---|---|
| Amount | The number of mock users to generate. |
| Email Domain | Whether to generate an email address for each mock user. |
| Avatar | Whether to generate an avatar image for each mock user. |
| Password | Whether to generate a password for each mock user. |
| Birth Date | Whether to generate a birth date for each mock user. |
| Username | Whether to generate a username for each mock user. |
| Address | Whether to generate an address for each mock user. |
| Phone Number | Whether to generate a phone number for each mock user. |
| Created At | Whether to generate a creation date for each mock user. |
| Balance | Whether to generate a balance amount for each mock user. |
Output
JSON
amount- The number of users requested to generate.emailRequired- Indicates if email addresses were generated.avatarRequired- Indicates if avatars were generated.passwordRequired- Indicates if passwords were generated.birthDateRequired- Indicates if birth dates were generated.usernameRequired- Indicates if usernames were generated.addressRequired- Indicates if addresses were generated.phoneRequired- Indicates if phone numbers were generated.createdAtRequired- Indicates if creation dates were generated.balanceRequired- Indicates if balances were generated.
Dependencies
- An API key credential for the CodeKit API is required to authenticate requests.
Troubleshooting
- If the node fails to generate data, check that the API key credential is correctly configured and has the necessary permissions.
- Ensure that the 'Amount' parameter is a positive integer to avoid errors.
- If specific fields are not generated as expected, verify that the corresponding boolean flags are set to true.