> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.aitransform.md).

# 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.

{% hint style="info" %}
**Feature availability**

Available only on [Cloud plans](/deploy/use-n8n-cloud.md).
{% endhint %}

## Node parameters <a href="#node-parameters" id="node-parameters"></a>

### Instructions <a href="#instructions" id="instructions"></a>

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](/build/code-in-n8n/get-coding-help-from-ai.md#writing-good-prompts) for more information.

The prompt should be in plain English and under 500 characters.

### Transformation Code <a href="#transformation-code" id="transformation-code"></a>

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.md) node.

## Templates and examples <a href="#templates-and-examples" id="templates-and-examples"></a>

[Browse AI Transform integration templates](https://n8n.io/integrations/ai-transform) or [search all templates](https://n8n.io/workflows/)
