Actions22
Overview
The Crowd.dev Node for n8n allows you to interact with the Crowd.dev platform, specifically managing automations. The "Automation: Update" operation updates an existing automation's configuration, such as its trigger and webhook URL. This node is useful in scenarios where you need to programmatically modify how and when automations are triggered within your Crowd.dev environment, for example, changing the event that starts an automation or updating the endpoint that receives webhook data.
Practical examples:
- Changing the trigger of an existing automation from "New Activity" to "New Member".
- Updating the webhook URL to point to a new service endpoint.
- Automating the maintenance of automation configurations across multiple environments.
Properties
| Name | Type | Meaning |
|---|---|---|
| ID | String | The unique identifier of the automation to update. |
| Trigger | Options | Specifies what event will trigger the automation (e.g., New Activity, New Member). |
| URL | String | The URL to which webhook data will be POSTed when the automation is triggered. |
Output
The output is a JSON object representing the result of the update operation. Typical structure:
{
"result": "success"
}
Or, if the API returns additional data, the output will mirror the response structure from the Crowd.dev API for the update operation.
If an error occurs and "Continue On Fail" is enabled, the output may include an error field alongside the original input data.
Dependencies
- External Service: Requires access to the Crowd.dev API.
- Credentials: You must configure the
crowdApicredential in n8n to authenticate requests. - n8n Configuration: No special environment variables are required beyond standard credential setup.
Troubleshooting
Common Issues:
- Invalid ID: If the provided automation ID does not exist, the API may return an error indicating the resource was not found.
- Authentication Errors: Missing or incorrect
crowdApicredentials will cause authentication failures. - Invalid URL: Providing an invalid webhook URL may result in validation errors from the API.
Error Handling:
- If "Continue On Fail" is enabled, errors are included in the output with an
errorfield. - Otherwise, execution stops and the error message is shown in n8n.
Common Error Messages:
"Resource not found": Check that the ID is correct and exists in Crowd.dev."Unauthorized": Ensure yourcrowdApicredentials are set up correctly."Validation failed": Verify that all required fields (ID, Trigger, URL) are filled and valid.