Actions36
- Application Actions
- Database Actions
- Deployment Actions
- Environment Variable Actions
- Private Key Actions
- Project Actions
- Resource Actions
- Server Actions
Overview
This node interacts with the Coolify API to manage various resources such as applications, databases, deployments, and more. Specifically, for the Deployment - Cancel operation, it allows users to cancel an ongoing deployment by specifying its Deployment ID. This is useful in scenarios where a deployment needs to be stopped due to errors, changes in requirements, or other operational reasons.
Practical examples include:
- Stopping a deployment that was triggered by mistake.
- Cancelling a deployment that is taking too long or encountering issues.
- Automating rollback procedures by cancelling current deployments before starting new ones.
Properties
| Name | Meaning |
|---|---|
| Deployment ID | The unique identifier of the deployment to cancel. This is required to specify which deployment should be cancelled. |
Output
The node outputs a JSON array containing the response from the Coolify API after attempting to cancel the specified deployment. The structure typically includes details about the cancellation status or any relevant metadata returned by the API.
If the node supports binary data output (not indicated here), it would represent related files or logs, but for this operation, the output is purely JSON-based.
Dependencies
- Requires an active connection to the Coolify API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The node depends on internal helper functions to make HTTP requests to the Coolify API endpoints.
Troubleshooting
Common Issues:
- Invalid or missing Deployment ID: Ensure the Deployment ID provided exists and is correct.
- Authentication failures: Verify that the API key or token credential is valid and has sufficient permissions.
- Network or API downtime: Check connectivity and Coolify service status.
Error Messages:
"The resource "deployment" is not implemented!"— indicates a misconfiguration or unsupported resource selection."The operation "cancel" is not implemented!"— suggests the operation name might be incorrect or not supported.- API errors returned from Coolify will usually contain HTTP status codes and messages; these should be reviewed to understand specific failure reasons.
Links and References
- Coolify Official Documentation (for API details and deployment management)
- n8n Documentation on Creating Custom Nodes