Faker
Faker generates synthetic test data. You write a JSON template whose string values name FakerPHP formatters, and the node emits the same shape with every formatter name replaced by a generated value. Use it to build and test a flow before the real data source is connected. You find it on the node picker’s Transform & data shelf.


| Field | Type | Default | Description |
|---|---|---|---|
Template (template) | string ✦ (required) | — | A JSON template whose values are Faker directives (e.g. name, email, randomNumber) that get replaced with generated fake data. |
Locale (locale) | string ✦ (optional) | — | The locale used to generate the fake data, e.g. en_US or nl_NL; defaults to Faker’s standard locale when empty. |
Fields marked ✦ accept expressions.
Try this node — run it once against your own workspace, with your credentials, without building a flow first.
How values are matched
Section titled “How values are matched”Each string value in the template is matched against FakerPHP’s formatter
names: name, email, uuid, city, iso8601, streetName,
buildingNumber, and dozens more. Capitalisation and underscores do not
matter, so streetName, streetname, and street_name all reach the same
formatter. Numbers, booleans, and null pass through as-is.
Ahead of that exact match sits a small set of name guesses, and they fire on strings that are not formatter names at all:
- a value starting with
is_, orisfollowed by a capital (is_active,isPaid), generates a boolean - a value ending in
_atorAt(created_at,updatedAt) generates a date and time, and it serialises as a nested object rather than a timestamp string. Useiso8601when you want a plain timestamp - a few aliases resolve to a different formatter:
townto a city,zipcodeto a postcode,loginto a username,websiteto a URL,employerto a company,titleto a whole sentence rather than an honorific, andbody,summary,article, ordescriptionto a block of text
A string that neither the guesses nor the exact match recognise passes through unchanged, so you can mix generated and fixed values in one template, as long as the fixed value is not one of the strings above.
Set locale (for example nl_NL or fr_FR) to generate locale-appropriate
names, addresses, and phone numbers. Left empty, it defaults to en_US.
Generating lists
Section titled “Generating lists”An array whose first element is a number is a repeat instruction: the element after the count is the template for every generated item. This works at any nesting depth.
[3, { "id": "uuid", "names": [2, "name"] }]This produces three objects, each with a fresh id and two generated names.
Output
Section titled “Output”The node emits the populated document as JSON, in the same shape as the template. Every run generates new random values.
Example
Section titled “Example”The Faker template in the gallery (Automation → Templates) generates
ten Dutch address records with locale set to nl_NL. Its template, with a
few of the address fields left out:
[10, { "id": "uuid", "active": "boolean", "lastChange": "iso8601", "addressTown": "city", "addressStreet": "streetName", "addressNumber": "buildingNumber", "addressPostalcode": "postcode", "names": [3, "name"]}]Limitations
Section titled “Limitations”- The repeat form triggers on any array whose first element is a number, so a
plain list like
[1, 2, 3]is read as “generate the value2once”, not as three literal numbers. Wrap literal number lists in an object, or emit them from an Injector instead.
Related
Section titled “Related”- Injector emits a fixed JSON document.
- Transformer builds JSON from upstream data with expressions.
- Start from a template covers importing the gallery flow this page references.