Salta ai contenuti
Vai al contenuto

Email connector

The Email connector sends messages through SMTP configured on your Dolibarr instance. Use it to notify a team or customer after an ERP action.

🔌 SMTP prerequisites

Before using this connector:

  1. Configure SMTP in Dolibarr (host, port, encryption).
  2. Send a test email from Dolibarr (administration menu).
  3. Confirm the default sender is allowed by your mail provider.

Without valid SMTP, the run fails with a clear error in run history.

🔌 Node fields

FieldDescription
ToRecipient(s), comma-separated; {{ }} allowed
SubjectMessage subject
BodyHTML or plain text depending on mode
AttachmentsFiles from a previous node or controlled paths

🔌 Templates and personalization

Build the body with expressions:

Hello {{ nodes.tier.output.name }},
Your invoice {{ nodes.invoice.output.ref }} is available.

For recurring layouts, centralize a fragment in a Logic node or reuse a workflow template from examples/*.knot.json.

🔌 Online demo

On the public Knot demo (demo.example.com), real sending is often disabled to prevent spam. You can still:

  • configure the node;
  • validate the graph in Simulate;
  • read the “would have been sent” payload in the inspector.

On your own Dolibarr, sending uses your real SMTP settings.

🔌 Best practices

  • Do not email secrets (use short signed links if needed).
  • Respect GDPR: lawful basis and opt-out for marketing use.
  • Limit frequency: prefer a spaced Cron trigger over mail on every micro-event.

Next steps