Skip to content

Commit

Permalink
Docs for: AI Transform Node (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayatnkw authored Aug 15, 2024
1 parent 935d752 commit 2201bf7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/integrations/builtin/core-nodes/n8n-nodes-base.aitransform.md
Original file line number Diff line number Diff line change
@@ -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') ]]

1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2201bf7

Please sign in to comment.