The idea is:
N8N has the distinction of being the only workflow builder I know of that can represent flows in JSON
JSON as we know, is just text.
Large language models like GPT-4 do very well at understanding the patterns in text to be able to handle all kinds of requests that can be expressed and answered in text
Therefore, I believe that n8n has a unique opportunity to be the first workflow builder than can have first-class support for large language models to help design workflows for you just by describing what you want.
That would open this tool up immediately to all kinds of non-technical folks to build workflows and probably garner tons of attention for n8n in the press which usually means more funding and contributions to the community.
This is something I’m personally VERY interested in and would like to actively contribute to (I’ve been experimenting with prompting ChatGPT and had some initial success in having it generate workflow JSONs for n8n so I know that the concept works)
My use case:
I would like something like the following prompt to produce a perfect workflow represented in JSON when I ask a model:
Please make a workflow that has a typeform form as a trigger, with fields that take a name, phone, and email then store this information into a postgres database while validating the email and phone number either with regex or external services / nodes that can achieve satisfactory validation
I think it would be beneficial to add this because:
- LLMs are the future
- It would bring a lot of attention to n8n ecosystem and potentially be a great paid feature
- It would make n8n more accessible to a general audience
- It would likely explode the usage of the tool and produce a huge variety of template flows
- Other workflow builders are doing this already: https://www.bardeen.ai/
Any resources to support this?
Ask ChatGPT using GPT-4 to generate a JSON workflow for n8n, observe the results
Are you willing to work on this?
Yes