Merge node
Code node
+3

Generate random mock data with no code and zero dependencies

Published 1 year ago

Created by

eduard
Eduard

Categories

Building Blocks

Template description

🎲 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! 😄

Share Template

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon