Actions36
- File Actions
- Issue Actions
- Organization Actions
- Release Actions
- Repository Actions
- Review Actions
- User Actions
- Workflow Actions
User → Invite
AI-generatedOverview
This node operation invites a user to a specified GitHub organization by sending an invitation to the user's email address. It is useful for automating the process of adding new members to a GitHub organization, especially in team management or onboarding workflows.
Use Case Examples
- Automatically invite new team members to a GitHub organization by email.
- Send invitations to external collaborators to join a GitHub organization.
Properties
| Name | Meaning |
|---|---|
| Organization | The GitHub organization to which the user is being invited. This is a required field for the invite operation under the User resource. |
| The email address of the user to be invited to the organization. This is a required field for the invite operation under the User resource. |
Output
JSON
json- The JSON response from the GitHub API after sending the invitation, typically containing details about the invitation status or error messages if any.
Dependencies
- Requires GitHub App API credentials for authentication to perform the invitation via GitHub API.
Troubleshooting
- Ensure the GitHub App credentials are correctly configured and have the necessary permissions to invite users to the organization.
- Verify that the organization name and email address are correctly provided and valid.
- Common errors include authentication failures, invalid organization names, or email addresses not associated with GitHub accounts. Check error messages returned by the API for specific issues.
Links
- GitHub API - Invite a user to an organization - Official GitHub API documentation for inviting users to an organization.