Actions252
- Api Keys Actions
- Attachments Actions
- Blocklists Actions
- Calendar Channel Event Associations Actions
- Find Many Calendar Channel Event Associations
- Create One Calendar Channel Event Association
- Create Many Calendar Channel Event Associations
- Find One Calendar Channel Event Association
- Delete One Calendar Channel Event Association
- Update One Calendar Channel Event Association
- Find Calendar Channel Event Association Duplicates
- Companies Actions
- Calendar Channels Actions
- Calendar Event Participants Actions
- Calendar Events Actions
- Connected Accounts Actions
- Favorite Folders Actions
- Favorites Actions
- Message Channel Message Associations Actions
- Find Many Message Channel Message Associations
- Create One Message Channel Message Association
- Create Many Message Channel Message Associations
- Find One Message Channel Message Association
- Delete One Message Channel Message Association
- Update One Message Channel Message Association
- Find Message Channel Message Association Duplicates
- Message Channels Actions
- Message Folders Actions
- View Fields Actions
- Message Participants Actions
- Messages Actions
- Message Threads Actions
- Notes Actions
- Note Targets Actions
- Opportunities Actions
- People Actions
- Tasks Actions
- Task Targets Actions
- Timeline Activities Actions
- View Filter Groups Actions
- View Filters Actions
- View Groups Actions
- Views Actions
- View Sorts Actions
- Webhooks Actions
- Workflow Automated Triggers Actions
- Workflow Runs Actions
- Workflows Actions
- Workflow Versions Actions
- Workspace Members Actions
Overview
This node operation allows you to create a new workspace member within a specified workspace. It is useful for automating the process of adding users to a workspace, setting their preferences such as time and date formats, locale, avatar, and position within the workspace. Typical use cases include onboarding new team members, synchronizing user data from other systems, or managing workspace memberships programmatically.
Properties
| Name | Meaning |
|---|---|
| Depth | Determines how much nested related object information to include in the response: 0 (only primary object), 1 (primary + directly related objects), or 2 (primary + directly related + related objects of those). |
| User Email | The email address of the user to be associated with the workspace member. |
| Time Format | Preferred time format for the user. Options: SYSTEM, HOUR 24, HOUR 12. |
| Date Format | Preferred date format for the user. Options: SYSTEM, MONTH FIRST, DAY FIRST, YEAR FIRST. |
| Time Zone | The user's time zone as a string. |
| User Id | Required. The unique identifier of the user to associate with the workspace member. |
| Position | Numeric value indicating the workspace member's position or rank within the workspace. |
| Name | JSON object representing the workspace member's name details. |
| Color Scheme | Preferred color scheme for the user interface. |
| Locale | Preferred language/locale for the user. |
| Avatar Url | URL pointing to the workspace member's avatar image. |
Output
The node outputs a JSON object representing the newly created workspace member. This includes all the properties sent during creation along with any additional metadata returned by the API, potentially including nested related objects depending on the Depth parameter. The output does not include binary data.
Dependencies
- Requires an API key credential to authenticate requests to the Twenty API.
- The base URL for the API is configured via credentials.
- The node uses the Twenty API version 1.0.3 OpenAPI specification for request construction.
Troubleshooting
- Missing Required Fields: Ensure that the required
User Idproperty is provided; otherwise, the API will reject the request. - Invalid Formats: Providing invalid values for
Time Format,Date Format, orDepthmay cause errors. Use only the allowed options. - Authentication Errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network Issues: Check connectivity to the API endpoint and ensure no firewall or proxy blocks the requests.
- JSON Parsing Errors: The
Nameproperty expects a valid JSON string; malformed JSON will cause failures.
Links and References
- Twenty API Documentation (example link, replace with actual if available)
- n8n Documentation on Creating Custom Nodes