1001fx - NoCode functions icon

1001fx - NoCode functions

1001fx is a set of functions for any automation platform. Our functions are simple, very well tested, scalable and offer features that most automation platforms do not offer.

Actions74

data → Create Fake Data

AI-generated

Overview

The Create Fake Data operation in the "data" resource of this custom n8n node allows users to generate arrays of random, fake data for testing, prototyping, or populating workflows with sample content. This is particularly useful for developers and automation designers who need realistic-looking data without exposing real user information or when building and testing automations before connecting to live systems.

Practical examples:

  • Generating mock customer profiles for CRM testing.
  • Creating random addresses, company names, or product details for e-commerce workflow demos.
  • Populating spreadsheets or databases with sample data during development.

Properties

Name Meaning
Data Input Mode Select how to define the data fields to generate. Options:
• Expression – Provide a JSON array describing modules and functions.
• Manual – Use a form to select modules and functions interactively.
Data (When using Expression) A JSON array of objects specifying which module and function to use for each field. Each object should include module and function. Example: [{"module":"name","function":"firstName"}]
Data (When using Manual) A collection where each entry defines:
• Module – The category of fake data (e.g., address, company, finance, etc.)
• Function – The specific function within that module (e.g., firstName, city, price, etc.)
Rows Number of rows (objects) of fake data to generate. Defaults to 1. Maximum is 250.
Locale Localization setting for generated data. Determines language/country-specific formats. Defaults to 'en'. Options include: en, de, fr, es, ja, zh_CN, ru, etc.

Output

  • The output is an array of JSON objects, each representing a row of generated fake data.
  • Each object contains properties corresponding to the selected modules and functions.
  • Example output structure:
[
  {
    "firstName": "John",
    "lastName": "Doe",
    "company": "Acme Corp",
    "address": "123 Main St"
  },
  {
    "firstName": "Jane",
    "lastName": "Smith",
    "company": "Globex Inc",
    "address": "456 Elm Ave"
  }
]
  • No binary data is produced by this operation.

Dependencies

  • External Service: Requires access to the 1001fx API.
  • API Key: You must configure the 1001fxApi credential in n8n for authentication.
  • n8n Configuration: Ensure your n8n instance can reach external HTTP endpoints.

Troubleshooting

Common Issues:

  • Invalid API Key: If the 1001fxApi credential is missing or incorrect, requests will fail with authentication errors.
  • Malformed Data Property: Supplying invalid JSON in the "Data" property (when using Expression mode) may result in parsing errors.
  • Unsupported Locale or Function: Using a locale or function not supported by 1001fx may cause errors or empty results.
  • Rows Limit Exceeded: Requesting more than 250 rows will be rejected.

Error Messages:

  • "error": "Invalid API key" – Check your credentials.
  • "error": "Invalid data format" – Ensure your "Data" property is correctly structured.
  • "error": "Function/module not found" – Double-check the spelling and availability of the requested module/function.

Links and References

Discussion