Update: Ask AI in the code node was incorrectly announced and is not available in the code node, We have also now removed the beta for Ask AI in the HTTP Request node.
We have a couple of exciting updates on our āAsk AIā features for you today! These are all still under development and can give unexpected results, so please keep that in mind before putting the results in production. Weāre sharing this with you now as weāre hoping to get some āreal-worldā feedback from our community.
With Ask AI you can get customized, user-friendly help when you need it. It is available in the following contexts:
The Code node uses ChatGPT to generate code, based on your prompt.
The HTTP node will help you generate API requests - see below.
New: Ask AI is now supported on self-hosted instances!
Many of you asked, and weāre happy to report that you can now use all the āAsk AIā features on your self-hosted instances - including on the free Community edition! This covers both Ask AI for the Code Node and the HTTP node.
The HTTP node is great for extending n8nās functionality, but you will need to study the appropriate API documentation to use it. Our new Ask AI feature is making this a lot easier by providing detailed guidance on over 600 services.
To use:
Select Ask AI.
Enter the Service and Request you want to use. For example, to use the NASA API to get their picture of the day, enter NASA in Service and get picture of the day in Request.
Check the parameters: the AI tries to fill them out, but you may still need to adjust or correct the configuration. The response will contain placeholders for values that need to be replaced like {YOUR_API_KEY}
Some caveats of our current implementation:
If the service is not defined in our knowledgebase, the response will be a hallucination from the AI (the generated code will be unreliable and not based on a real API Definition). We can, however, add services to our knowledgebase on demand. The list of known services can be found here.
There are some exceptional cases in which the AI will refuse to generate a working curl command, which we donāt have control over.
Please help us test this feature and report any issues or thoughts as a reply on this topic. Thanks!
Where can we ask for additional services in the knowledge base?
Iād like to include MailerLite, Kiwify, ManyChat and Hotmart (in this order or priority).
have you seen/heard of gorilla? (berkeley project) theyāve got a pretty extensive collection of api adapters for their modelā¦ might be a useful source of inspiration for api integrations?
Not sure what Iām doing wrong but I donāt see the āAsk AIā button on the HTTP module. The Code node has the Ask AI feature, but the HTTP node does not. I set up the environment variables, recreated the container, confirmed Iām on 1.40.0 and confirmed the environment variables are present.
I am having the exact same issue. Tried with a āProject API keyā from OpenAI, as well as the legacy version. Unfortunately the Ask AI feature on the Code node returns: āCode generation failed due to an unknown reason. Try again in a few minutes.ā