OpenAI#
Use the OpenAI node to automate work in OpenAI, and integrate OpenAI with other applications. n8n has built-in support for a wide range of OpenAI features, including creating images and chats, as well as moderating, and editing texts.
On this page, you'll find a list of operations the OpenAI node supports and links to more resources.
OpenAI Assistant node
The OpenAI node replaces the OpenAI assistant node from version 1.29.0 on.
Credentials
Refer to OpenAI credentials for guidance on setting up authentication.
Examples and templates
For usage examples and templates to help you get started, take a look at n8n's OpenAI integrations list.
Operations#
- Assistant
- Create
- Delete
- List
- Message
- Update
- Text
- Message a Model
- Classify Text for Violations
- Image
- Analyze
- Generate
- Audio
- Generate
- Transcribe
- Translate
- File
- Delete
- List
- Upload
Related resources#
Refer to OpenAI's documentation for more information about the service.
Refer to OpenAI's assistants documentation for more information about how assistants work.
View example workflows and related content on n8n's website.
Using tools with OpenAI assistants#
Some operations allow you to connect tools. Tools act like addons that your AI can use to access extra context or resources.
Select the Tools connector to browse the available tools and add them.
Once you add a tool connection, the OpenAI node becomes a root node, allowing it to form a cluster node with the tools sub-nodes. See Node types for more information on cluster nodes and root nodes.
Operations that support tool connectors#
- Assistant
- Message Assistant
- Text
- Message Model