diff --git a/docs/integrations/builtin/core-nodes/n8n-nodes-base.aitransform.md b/docs/integrations/builtin/core-nodes/n8n-nodes-base.aitransform.md new file mode 100644 index 00000000000..1564de56d58 --- /dev/null +++ b/docs/integrations/builtin/core-nodes/n8n-nodes-base.aitransform.md @@ -0,0 +1,31 @@ +--- +#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4 +title: AI Transform +description: Documentation for the AI Transform node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples. +contentType: integration +--- + +# AI Transform + +Use the AI Transform node to generate code snippets based on your prompt. The AI is context-aware, understanding the workflow’s nodes and their data types. + +/// info | Feature availability +Available only on [Cloud plans](/manage-cloud/overview/). +/// + +## Node parameters + +### Instructions + +Enter your prompt for the AI and click the **Generate code** button to automatically populate the **Transformation Code**. For example, you can specify how you want to process or categorize your data. Refer to [Writing good prompts](/code/ai-code/#writing-good-prompts) for more information. + +The prompt should be in plain English and under 500 characters. + +### Transformation Code + +The code snippet generated by the node is read-only. To edit this code, adjust your prompt in **Instructions** or copy and paste it into a [Code](/integrations/builtin/core-nodes/n8n-nodes-base.code/) node. + +## Templates and examples + +[[ templatesWidget(title, 'ai-transform') ]] + diff --git a/mkdocs.yml b/mkdocs.yml index fca38bdd650..37cf54bf55b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -349,6 +349,7 @@ nav: - integrations/builtin/core-nodes/index.md - integrations/builtin/core-nodes/n8n-nodes-base.activationtrigger.md - integrations/builtin/core-nodes/n8n-nodes-base.aggregate.md + - integrations/builtin/core-nodes/n8n-nodes-base.aitransform.md - integrations/builtin/core-nodes/n8n-nodes-base.code.md - integrations/builtin/core-nodes/n8n-nodes-base.comparedatasets.md - integrations/builtin/core-nodes/n8n-nodes-base.compression.md