Actions40
- Account Hierarchy Actions
- Cryptography Actions
- Customer Hierarchy Actions
- File Explorer Actions
- Generic API Actions
- Invoice Actions
- Job Actions
- Mediation Actions
- Order Actions
- Quote Actions
- Subscription Actions
Overview
The Opencell - Quote: Generate PDF operation in n8n allows you to generate a PDF document for a specific quote version from the Opencell CPQ (Configure, Price, Quote) system. This is useful in scenarios where you need to automate the retrieval of official quote documents for sharing with customers, archiving, or further processing within your business workflows.
Practical examples:
- Automatically attach generated quote PDFs to emails sent to clients.
- Archive all quote versions as PDFs in a document management system.
- Trigger downstream processes (e.g., order placement) only after a quote PDF has been generated and reviewed.
Properties
Name | Type | Meaning |
---|---|---|
Authentication | options | Selects the authentication method for connecting to Opencell (Basic Authentication or OAuth2). |
Quote Code | string | The unique code identifying the quote whose PDF should be generated. |
Quote Version | number | The version number of the quote for which the PDF will be generated. |
Body Content Type | hidden | Internal property; set to "multipart-form-data" (not user-facing). |
Output
- The node returns a
json
field containing the response from the Opencell API's PDF generation endpoint. - For this operation, the output typically includes metadata about the PDF generation process or a reference to the generated PDF file.
- Note: If the API returns binary data (the actual PDF), it may be included as a binary property in the n8n item, but based on the static analysis, the node outputs the JSON response from the API call.
Dependencies
- External Service: Requires access to an Opencell instance with the CPQ module enabled.
- Authentication: You must configure either Basic Authentication or OAuth2 credentials in n8n for the Opencell API.
- n8n Configuration: Set up the appropriate credentials under the node’s settings.
Troubleshooting
Common Issues:
- Invalid Credentials: If authentication fails, you may see errors like "Username/password error" or "Host error." Ensure your credentials are correct and have sufficient permissions.
- Missing or Incorrect Quote Code/Version: If the provided quote code or version does not exist, the API may return an error indicating that the resource was not found.
- API Connectivity: Network issues or incorrect Opencell API URLs can result in connection errors.
Error Messages & Resolutions:
"Username/password error. Error code : <code>"
: Check your username and password or OAuth2 configuration."Host error. Error code : <code>"
: Verify the Opencell API URL and network connectivity."Invalid credentials (unknown error)"
: Double-check credential setup in n8n."Resource not found"
: Ensure the Quote Code and Quote Version are valid and exist in Opencell.