Vehicle
AI-generatedOverview
This node generates fake data using the Faker.js library. It is useful for testing, prototyping, or populating applications with realistic but non-sensitive sample data. The node supports multiple categories of fake data such as person details, company info, internet-related data, product descriptions, financial information, and vehicle details.
For the "Vehicle" operation specifically, it creates fake vehicle-related records including vehicle name, manufacturer, model, type, fuel type, VIN, and color. This can be helpful when developing or testing automotive software, inventory systems, or any application requiring vehicle data without using real-world sensitive information.
Properties
| Name | Meaning |
|---|---|
| Number of Records | Number of fake vehicle records to generate (e.g., 1, 5, 10). |
Output
The output is an array of JSON objects, each representing one generated fake vehicle record. Each record contains the following fields:
vehicle: A fake vehicle name.manufacturer: The vehicle's manufacturer.model: The vehicle model.type: The type/category of the vehicle.fuel: The fuel type used by the vehicle.vin: A fake Vehicle Identification Number.color: The vehicle's color.
Example output item:
{
"vehicle": "Sedan",
"manufacturer": "Toyota",
"model": "Camry",
"type": "Car",
"fuel": "Gasoline",
"vin": "1HGCM82633A004352",
"color": "Red"
}
No binary data is produced by this node.
Dependencies
- Uses the external Faker.js library (
@faker-js/faker) to generate fake data. - No external API keys or services are required.
- No special environment variables or n8n credentials needed.
Troubleshooting
- Common issues:
- Providing a non-integer or negative number for "Number of Records" may cause unexpected behavior or no output.
- Large numbers for "Number of Records" could lead to performance degradation or memory issues.
- Error messages:
- If the Faker.js library fails to load or is missing, the node will not execute properly. Ensure dependencies are installed correctly.
- Invalid operation values are prevented by the UI options; if modified manually, the node might throw errors or produce empty results.