Back to Templates

Generate random mock data with no code and zero dependencies

Created by

Created by: Eduard || eduard
Eduard

Last update

Last update 4 months ago

Categories

Share


๐ŸŽฒ Random Data Generator ๐ŸŽฒ

This beginner-friendly workflow allows you to generate random mock data effortlessly, without any programming or external dependencies. ๐Ÿš€

Here's how it works:

  1. ๐Ÿ“ Provide some default values for the random generator using the "Code" node. Don't worry, no coding is needed, it's just a simple JSON! You can even use the "Ask AI" in the cloud version of n8n to generate mock values for you. These values are permanently stored in the workflow ensuring swift and reliable execution.

  2. ๐Ÿ”€ The "Firstname," "Lastname," and "Occupation" nodes extract invividual variables. Two Merge nodes create a combination of all possible values. Adapt this section based on your needs.

  3. ๐ŸŽฒ The "Random" node shuffles the generated data.

  4. ๐Ÿ”ข Use the "Limit" node to control the number of output items.

  5. โœจ Perform additional post-processing, such as deriving email addresses based on the user's name and surname.

And there you have it! With just a few clicks, you'll have a set of realistic mock data ready to test your workflows. ๐ŸŽ‰

Want to learn more? Check out the full tutorial on YouTube! ๐Ÿ“บ

Click to watch the video

Happy data generating! ๐Ÿ˜„