Connect n8n
- In n8n, open Settings > n8n API and create an API key.
- On Enterprise plans, grant
workflow:listfor the connection check and only the additional scopes your automations need. Non-Enterprise keys have full access to the account’s resources and capabilities. - In Serval, open Settings > Integrations and select n8n.
- Enter your API URL, including HTTPS and the
/api/v1suffix:- Cloud:
https://your-instance.app.n8n.cloud/api/v1 - Self-hosted:
https://automation.example.com/api/v1 - With a subpath:
https://automation.example.com/n8n/api/v1
- Cloud:
- Enter your API Key and save.
Verify the connection
The connection check reads one workflow. Additional healthchecks read one execution and one tag, requiringexecution:list and tag:list respectively.
These checks do not modify resources or return workflow or execution contents.
If a check fails, verify the URL, key expiration, and required scope. n8n’s
public API is unavailable during a free trial. An operation may also require
a newer n8n version or an Enterprise plan.
List responses include nextCursor when another page is available. Pass it
as cursor on the next request; the SDK returns each page separately.
See the n8n API documentation for
operation details and permissions.
