Generate n8n workflow & node JSON using AI (OpenAI & Google Gemini) directly in your browser!
An open-source Chrome Extension designed to help n8n users quickly generate JSON configurations for workflows or individual nodes based on natural language prompts. This extension leverages the power of OpenAI (GPT models) or Google Gemini, using your own API keys, making the extension itself free to use.
No, this is an independent, third-party extension created to assist n8n users. It utilizes official APIs from AI providers but is not developed or endorsed by n8n GmbH.
The extension uses powerful AI models from OpenAI (like GPT-4o-mini, GPT-4) or Google (Gemini models) to understand your request and generate the JSON. Accessing these models requires an API key from the respective provider. The extension makes API calls directly from your browser to the AI provider using your key.
Your API keys are stored locally in your browser's secure storage (chrome.storage.local). They are not sent to any server other than the official OpenAI or Google API endpoints when you click "Generate". They are not shared with the extension developer or any other third party. However, like any browser extension data, it's important to be aware of the general security implications of storing sensitive information in the browser.
The model dropdowns are populated dynamically after you enter and save a valid API key for the respective provider (OpenAI or Gemini). If the key is missing, invalid, or the extension fails to fetch the models list from the provider's API, the dropdown will remain disabled or show an error message. Ensure your key is correct and saved, and check the status message in the Settings tab for errors.
Yes. Just describe the single node you need, for example: "A Set node that extracts the 'name' and 'email' fields from the input" or "An HTTP Request node to GET data from example.com/api/users".
This usually means the specific model selected in the dropdown is not available to your API key or doesn't exist under that exact name. Try selecting a different model from the dropdown (especially one of the recommended ones) and ensure your settings are saved.
This can depend on the complexity of your prompt, the current load on the AI provider's servers, and the chosen AI model. Try simplifying your prompt or using a potentially faster model (like OpenAI's gpt-4o-mini or Gemini's gemini-1.5-flash-latest).
The AI might have misunderstood the prompt, or a safety filter might have blocked the response. Try rephrasing your prompt clearly and simply. Check the status message for any specific errors reported by the API call function.
Your prompt text is sent directly to the selected AI provider (OpenAI or Google) via their official API, using your API key. It is processed according to their respective privacy policies. The prompt data is not stored or shared by the extension itself or its developer.
As mentioned before, your API keys are stored locally in your browser and are only sent directly to the official API endpoints of OpenAI or Google when you initiate a generation request. They are not shared elsewhere.
Yes, this is an open-source project, and contributions are welcome! If you find a bug, have a feature request, or want to improve the code, please check out the repository: https://github.com/farhansrambiyan/n8n-Workflow-Builder-Ai
How to Contribute:
Please ensure your code follows basic formatting standards and includes comments where necessary to explain complex logic.