Actions37
- Contact Actions
- Invoice Actions
- Item Actions
- Payment Actions
- Estimate Actions
- Tax Actions
- Bank Account Actions
Overview
This node integrates with the Alegra API to manage various resources such as contacts, invoices, items, payments, estimates, taxes, and bank accounts. Specifically, for the Item resource with the Delete operation, it allows users to delete a product or service from their Alegra account by specifying the item's unique ID.
Common scenarios where this node is beneficial include:
- Automating inventory management workflows by removing discontinued or obsolete products.
- Cleaning up test or duplicate items in Alegra.
- Integrating Alegra item deletion into larger automation pipelines that handle product lifecycle.
Example: Automatically deleting an item after it has been marked as inactive in another system, ensuring Alegra stays synchronized.
Properties
| Name | Meaning |
|---|---|
| Item ID | The unique identifier of the item to delete |
Output
The output JSON contains the response from the Alegra API after attempting to delete the specified item. Typically, this will be an object indicating success or failure of the deletion request. The exact structure depends on Alegra's API response but usually includes confirmation of deletion or error details.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Alegra API via an API key credential configured in n8n.
- The node uses HTTP requests authenticated with this API key to perform operations.
- Network access to Alegra's API endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing Item ID: The node requires a valid item ID; ensure the ID exists in Alegra.
- Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network connectivity problems: Ensure n8n can reach Alegra's API servers.
Error messages:
"Unknown error occurred": Generic catch-all error; check network and credentials.- API-specific errors (e.g., "Item not found"): Confirm the item ID is correct and the item exists.
Resolution tips:
- Double-check the Item ID input.
- Re-authenticate or update the API key credential if authentication fails.
- Review Alegra API status and your internet connection.
Links and References
- Alegra API Documentation (for detailed API behavior and responses)
- n8n documentation on HTTP Request Authentication (general guidance on setting up API credentials)