Saltearse al contenido
Saltar al contenido

AI connector

Knot Pro Pack required — The AI connector (OpenAI, Anthropic, Mistral, Gemini, Ollama) is provided by the Knot Pro Pack extension (private beta, access on request, no public price), not by the free Knot Core.

The AI connector calls a provider (OpenAI, Anthropic, local model, etc.) you registered beforehand. API keys stay in an encrypted credential — never in the workflow JSON.

🔌 Upstream setup

  1. Create a credential for your provider: Configure a provider.
  2. On the canvas, add an AI node.
  3. Pick the credential and model (list depends on provider).

🔌 Node inputs

InputRole
System promptStable instructions (tone, format, limits)
User promptVariable content, often templated with {{ }}
ContextStructured data (JSON) from Dolibarr or HTTP nodes

Example invoice context injection:

Summarize this invoice in 3 bullets:
{{ nodes.invoice.output | json }}

🔌 Outputs

Depending on node settings:

  • free text (summary, email draft);
  • parsed JSON for a Logic or Dolibarr Update node.

Always validate output in Simulate: models can hallucinate amounts or dates.

🔌 Cost and limits

  • Each run consumes tokens billed by the external provider.
  • Add delay or business quotas via Logic if you fear loops.
  • Prompt data leaves your server for the provider: review your DPA.

🔌 Use cases

See AI use cases for end-to-end scenarios (summary, quote, extraction).

Next steps