ecp_n8n_create_owner
Creates the n8n owner/admin account and connects the domain after status shows running and needs_owner, so the instance can be reached and secured with user-provided login details.
Instructions
Create n8n's owner (admin) account, then connect the domain to n8n. Call it once ecp_n8n_status shows running and needs_owner. Until then the domain doesn't reach n8n, so nobody else can claim the instance. Ask the user for the email, name and password they want for n8n's login - don't make up a password unless they ask you to, and then tell them what it is. n8n requires 8-64 characters with at least one number and one capital letter. The password goes straight to n8n and isn't stored by ECP. email, first_name and password are required for a new owner. Over kept data that already has an owner (existing_data), call it without fields: it only connects the domain. A 409 saying n8n already has an owner ECP didn't create means someone may have reached n8n first - the domain stays unconnected; tell the user (the fix is to uninstall with delete_data and install again) rather than retrying.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ecp_n8n_create_owner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| password | No | ||
| last_name | No | ||
| first_name | No |