Actions22
Overview
This node allows you to update an existing Organization in Crowd.dev, an open-source suite of community and data tools. The "Update" operation is useful when you need to modify details such as the organization's name, URL, description, logo, number of employees, or associated members. Typical scenarios include keeping organization records up-to-date, correcting information, or managing organizational changes.
Example use cases:
- Updating an organization's profile after a rebranding (name, logo, URL).
- Adding or removing members from an organization.
- Adjusting the employee count or updating the organization's description.
Properties
| Name | Type | Meaning |
|---|---|---|
| ID | String | The unique identifier of the organization to update. (Required) |
| Name | String | The new name for the organization. (Required) |
| Url | String | The updated URL of the organization. |
| Description | String (multi-line) | A short description of the organization. |
| Logo | String | A URL pointing to the organization's logo. |
| Employees | Number | The updated number of employees in the organization. |
| Members | Collection (Array of Strings) | List of member IDs to associate with the organization. Each element is a member's ID. |
Output
The output will be a JSON object representing the result of the update operation. Typically, this includes the updated organization data as returned by the Crowd.dev API. If the operation is successful but returns no data, the output will be:
{
"result": "success"
}
If the API returns the updated organization, the output will mirror the structure provided by Crowd.dev for organizations, which may include fields like id, name, url, description, logo, employees, and members.
Dependencies
- External Service: Requires access to the Crowd.dev API.
- API Key/Credentials: You must configure the
crowdApicredential in n8n for authentication. - n8n Configuration: No additional environment variables are required beyond the credential setup.
Troubleshooting
- Missing Required Fields: If the "ID" or "Name" fields are not provided, the node will fail. Ensure all required properties are set.
- Invalid Member IDs: Providing non-existent member IDs in the "Members" property may cause the update to fail.
- Authentication Errors: If your
crowdApicredentials are incorrect or missing, you'll receive authentication errors. Double-check your credential configuration. - Error Handling: If an error occurs and "Continue On Fail" is enabled, the error will be included in the output under an
errorfield along with the original input data.
Common Error Messages:
Missing required parameter: Ensure all required fields are filled.Authentication failed: Check your API credentials.Resource not found: Verify the organization ID exists.