Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Teams → Create Team

AI-generated

Overview

This node interacts with the Appwrite API to create a new team within the Appwrite platform. It is useful for automating team management tasks such as creating teams programmatically in workflows. For example, it can be used to create a team with a unique ID, assign a name, and specify roles for the team creator, facilitating collaboration and access control in projects.

Use Case Examples

  1. Creating a new team with a unique ID and assigning roles like owner and admin to the team creator.
  2. Automating team creation as part of a user onboarding process in an application integrated with Appwrite.

Properties

Name Meaning
Team ID The unique identifier for the team. It can be generated automatically using unique().
Name The name of the team. This is a required field.
Roles A comma-separated list of roles assigned to the team creator, such as owner or admin.

Output

JSON

  • teamId - The unique identifier of the created team.
  • name - The name of the created team.
  • roles - The roles assigned to the team creator in the created team.

Dependencies

  • Appwrite API endpoint
  • Project ID
  • API key credential for authentication

Troubleshooting

  • Ensure that the API key and project ID credentials are correctly configured to avoid authentication errors.
  • Verify that the team name is provided as it is a required field; missing this will cause the operation to fail.
  • If the team ID is not unique, the API may reject the creation request; use unique() to generate a unique ID.
  • Check network connectivity to the Appwrite endpoint to prevent request timeouts or failures.

Links

Discussion