Actions44
- User Actions
- Database Actions
- Collection Actions
- Document Actions
- Index Actions
- Function Actions
- Storage Actions
Overview
This node integrates with the Appwrite API to manage users within an Appwrite backend. Specifically, the User Create operation allows you to create a new user by specifying a unique user ID and optional additional fields such as email, password, name, and phone number.
Common scenarios where this node is beneficial include:
- Automating user registration workflows in your applications.
- Creating test or demo users programmatically.
- Integrating user management into larger automation pipelines without manual intervention.
For example, you can use this node to automatically create a new user when a form is submitted on your website, passing along their email, name, and phone number.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier for the user. Use "unique()" to auto-generate a new unique ID. |
| Additional Fields | Optional extra information for the user: - Email (string) - Password (string, hidden input) - Name (string) - Phone Number (string, E.164 format, e.g., +27821234567) |
Output
The output JSON contains the newly created user's data as returned by the Appwrite API. This typically includes fields like the user ID, email, name, phone number, and other metadata related to the user account.
The node does not output binary data for this operation.
Dependencies
- Requires an active connection to the Appwrite API via an API key credential configured in n8n.
- The node uses the Appwrite client library internally to communicate with the Appwrite server.
- Proper permissions must be granted to the API key to allow user creation.
Troubleshooting
Error: "An unknown error occurred."
This generic error may indicate network issues, invalid credentials, or misconfiguration. Verify your API key and endpoint settings.Validation errors on required fields
Ensure that the User ID is provided or set to"unique()"to auto-generate. Also, if providing email or password, ensure they meet Appwrite's validation rules.Permission denied errors
Confirm that the API key used has sufficient privileges to create users.Malformed phone number
If using the phone number field, ensure it follows the E.164 format (e.g.,+1234567890).