Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation allows you to add a member to a specific team within a group. It is useful in scenarios where you manage organizational structures, such as assigning users to teams for collaboration or access control purposes. For example, in a corporate environment, you might use this node to programmatically add employees to project teams based on their roles or department.

Properties

Name Meaning
Group Id Identifier of the Group to which the team belongs.
Team Id Identifier of the Team to which the member will be added.
Member Id User ID of the member to be added to the team.
Roles JSON array specifying the roles granted to the team member (e.g., ["admin", "editor"]).

Output

The node outputs JSON data representing the result of the add-member-to-team operation. This typically includes confirmation details such as the updated team membership or status of the request. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating with the external service.
  • The node uses a base URL configured in credentials to send HTTP requests.
  • The operation depends on the external API that manages groups and teams.

Troubleshooting

  • Missing or invalid Group Id/Team Id/Member Id: Ensure all required identifiers are correctly provided; otherwise, the API call will fail.
  • Invalid Roles JSON: The roles property must be valid JSON. Malformed JSON will cause parsing errors.
  • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • API endpoint issues: Check the base URL configuration and network connectivity if requests fail.

Links and References

  • Refer to the external API documentation for managing groups and teams for detailed information on roles and permissions.
  • n8n documentation on using API key credentials and configuring HTTP request nodes.

Discussion