Actions40
- Job Actions
- Account Hierarchy Actions
- Cryptography Actions
- Customer Hierarchy Actions
- File Explorer Actions
- Generic API Actions
- Invoice Actions
- Mediation Actions
- Order Actions
- Quote Actions
- Subscription Actions
Overview
The Opencell node for n8n enables integration with the Opencell API, specifically for managing commercial orders. The Order → Validate Order operation allows users to validate a commercial order by its ID. This is useful in business workflows where you need to ensure that an order meets all necessary criteria before further processing, such as fulfillment or invoicing.
Practical Example:
You might use this node after creating or updating an order to confirm its validity within your automated sales or ERP workflow.
Properties
| Name | Type | Meaning |
|---|---|---|
| Authentication | options | Selects the authentication method: Basic Authentication or OAuth2. |
| Order ID | number | The unique identifier of the commercial order to be validated. Required for this operation. |
| Body Content Type | hidden | Always set to "multipart-form-data" (used internally; not user-configurable). |
Output
- The output will be a JSON object containing the response from the Opencell API's order validation endpoint.
- The structure of the JSON depends on the Opencell API but typically includes status, messages, and possibly details about the validation result.
Example output:
{
"status": "SUCCESS",
"message": "Order validated successfully.",
"orderId": 12345,
// ...other fields as returned by Opencell
}
Dependencies
- External Service: Requires access to an Opencell instance with the REST API enabled.
- Authentication: You must configure either Basic Authentication or OAuth2 credentials in n8n.
- n8n Credentials: Set up
opencellApi(for Basic Auth) oropencellOAuth2Api(for OAuth2) in n8n credential settings.
Troubleshooting
Common Issues:
Invalid Credentials:
- Error message:
"Username/password error. Error code : <code>" - Solution: Check your Opencell API credentials in n8n.
- Error message:
Order Not Found:
- Error message: May include HTTP 404 or a message indicating the order does not exist.
- Solution: Verify the Order ID is correct and exists in Opencell.
API Connection Errors:
- Error message:
"Host error. Error code : <code>" - Solution: Ensure the Opencell API endpoint is reachable from your n8n instance.
- Error message:
Validation Failure:
- Error message: Details provided in the API response.
- Solution: Review the returned message for reasons why the order failed validation.