节点与集成

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 assistants, as well as chatting with models.

On this page, you'll find a list of operations the OpenAI node supports and links to more resources.

Operations

Templates and examples

Browse n8n-nodes-langchain.openai integration templates or search all templates

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.

For help dealing with rate limits, refer to Handling rate limits.

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.

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 node1, allowing it to form a cluster node2 with the tools sub-nodes3. See Node types for more information on cluster nodes and root nodes.

Operations that support tool connectors

Common issues

For common questions or issues and suggested solutions, refer to Common issues.

Footnotes

  1. Each n8n cluster node contains a single root nodes that defines the main functionality of the cluster. One or more sub nodes attach to the root node to extend its functionality.

    Back
  2. In n8n, cluster nodes are groups of nodes that work together to provide functionality in a workflow. They consist of a root node and one or more sub nodes that extend the node's functionality.

    Back
  3. n8n cluster nodes consist of one or more sub nodes connected to a root node. Sub nodes extend the functionality of the root node, providing access to specific services or resources or offering specific types of dedicated processing, like calculator functionality, for example.

    Back

官方原文和授权

本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。

来源、授权与修改

本站保留许可证、固定提交号、社区作者和修改说明,不代表 n8n 对本站背书。

查看许可证查看来源和修改说明