Actions28
- Conversion Actions
- Document Actions
- PDF Service Actions
- Template Actions
- Workspace Actions
Overview
This node integrates with a PDF generation and management API, enabling users to perform various PDF-related operations such as generating PDFs from templates or HTML content, converting URLs to PDFs, managing PDF templates, processing existing PDFs (e.g., watermarking, encryption), and organizing workspaces.
Specifically, the Workspace - Create operation allows users to create a new workspace by providing a unique identifier. Workspaces help organize templates and users within the PDF generation platform.
Common scenarios:
- Creating isolated environments for different teams or projects by setting up separate workspaces.
- Organizing PDF templates and user access under distinct workspace identifiers.
- Automating workspace creation as part of onboarding workflows.
Practical example:
- A company wants to automate the setup of a new department's PDF generation environment. Using this node, they can create a workspace with a unique identifier like
marketing.team@company.comto segregate templates and users related to marketing.
Properties
| Name | Meaning |
|---|---|
| Identifier | A unique string that identifies the new workspace to be created. |
Output
The output JSON contains the response from the API after creating the workspace. It typically includes details about the newly created workspace such as its identifier and any other metadata returned by the service.
Example output structure (simplified):
{
"id": "workspace-id",
"identifier": "unique-workspace-identifier",
"created_at": "timestamp",
"updated_at": "timestamp"
}
If the operation is successful, the output JSON will include a success indicator and the workspace details.
Dependencies
- Requires an API key credential for authenticating with the PDF Generator API service.
- The node uses the base URL from the configured credentials or defaults to
https://us1.pdfgeneratorapi.com/api/v4. - No additional environment variables are required beyond the API authentication.
Troubleshooting
Error: "Identifier is required"
Ensure that the "Identifier" property is provided and is not empty when creating a workspace.API errors related to duplicate identifiers
The workspace identifier must be unique. If you receive an error indicating duplication, choose a different identifier.Network or authentication errors
Verify that the API key credential is correctly configured and has the necessary permissions.Invalid JSON errors
This operation does not require JSON input beyond the identifier string, so ensure no malformed JSON is passed in other parameters.
Links and References
- PDF Generator API Documentation (general reference for API endpoints and features)
- n8n Documentation on Credentials (for configuring API keys)
This summary focuses exclusively on the Workspace resource's Create operation as requested.