n8n
Use Cortecs models in automated n8n workflows
Last updated
Use Cortecs models in automated n8n workflows
n8n is a workflow automation platform with built-in AI nodes. Because Cortecs provides an OpenAI-compatible API, you can use Cortecs models in n8n without installing a community node.
Before you begin, create a Cortecs API key by following the Quickstart and choose a model from the model catalog.
In n8n, open Credentials, create a credential, and select OpenAI.
Enter the following values:
API Key: Your Cortecs API key
Base URL: https://api.cortecs.ai/v1
Organization ID: Leave blank
Save the credential.
Add an OpenAI Chat Model node to an AI Agent, Basic LLM Chain, or another AI workflow.
Select the Cortecs credential.
Select a model or enter its exact model ID from the model catalog.
Leave Use Responses API enabled. It is the n8n default and the recommended option for AI Agent workflows. Disable it only if you need the Cortecs Chat Completions endpoint.
Run the workflow to test the connection.
For an AI Agent, choose a model that supports tool calling.
For API details, see the Cortecs Responses API. For node-specific options, see the n8n OpenAI Chat Model documentation.
Last updated