Skip to content

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.

Feature availability

Available only on Cloud plans.

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

Templates and examples#

AI agent chat

by n8n Team

View template details
Scrape and summarize webpages with AI

by n8n Team

View template details
Telegram AI Chatbot

by Eduard

View template details
Browse AI Transform integration templates, or search all templates