- Category: documents
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 16
- Triggers: 0
- Slug:
CLOUDLAYER - Version: 20261101_00
Tools
Add Storage
Add Storage
Slug:
CLOUDLAYER_ADD_STORAGEAdd a user-owned S3-compatible storage configuration for storing generated assets. This action allows Enterprise plan users to configure their own S3-compatible storage (AWS S3, DigitalOcean Spaces, Wasabi, MinIO, etc.) instead of using the built-in cloud storage included with Cloudlayer accounts. Note: User storage is only available on Enterprise plans. Standard plans will receive an ‘allowed: false’ response indicating the feature requires a plan upgrade.Input Parameters
A unique, human-readable title to identify this storage configuration in your account. Must be unique across all storage credentials.
Custom endpoint URL for S3-compatible storage providers like DigitalOcean Spaces or MinIO. Not required for AWS S3.
Storage region code (e.g., ‘us-east-1’ for AWS, ‘nyc3’ for DigitalOcean). Required for all providers.
Storage provider type. Use ‘aws’ for Amazon S3, ‘azure’ for Azure Blob, ‘gcp’ for Google Cloud Storage, or ‘s3’ for any S3-compatible storage (e.g., DigitalOcean Spaces, Wasabi, MinIO).
Output
Convert HTML to Image (V2)
Convert HTML to Image (V2)
Slug:
CLOUDLAYER_CONVERT_HTML_TO_IMAGEConvert HTML content to a PNG, JPG, or WebP image using the v2 API, with viewport configuration, transparency, auto-scroll, and custom wait conditions. Returns job details; the image asset may be available once processing completes.Input Parameters
The HTML content to convert. Will be automatically base64-encoded before sending to the API.
Output image format. Options: ‘png’, ‘jpg’, or ‘webp’. Default is ‘png’.
Wait condition before capturing: ‘load’, ‘domcontentloaded’, ‘networkidle0’, or ‘networkidle2’.
Output
Convert HTML to PDF (v2)
Convert HTML to PDF (v2)
Slug:
CLOUDLAYER_CONVERT_HTML_TO_PDF_V2Tool to convert HTML content to PDF using CloudLayer v2 API. Use when you need to generate a PDF from raw HTML with advanced options like custom paper size, margins, headers/footers, and viewport settings. The HTML is automatically Base64 encoded before sending to the API.Input Parameters
Predefined paper format (lowercase)
When to consider navigation complete. ‘networkidle2’ waits until 2 or fewer network connections for 500ms
HTML template for header or footer with class tokens.
Output
Convert URL to PDF (Simple)
Convert URL to PDF (Simple)
Delete Storage Configuration
Delete Storage Configuration
Get Account Info
Get Account Info
Get Asset
Get Asset
Slug:
CLOUDLAYER_GET_ASSETTool to retrieve a specific asset by its ID. Use when you need to fetch metadata or download URL of an existing asset after its generation.Input Parameters
The unique identifier (UUID) of the asset to retrieve. Can be obtained from the list_assets action or from the response of an asset generation action.
Output
Get Job By ID
Get Job By ID
Slug:
CLOUDLAYER_GET_JOB_BY_IDRetrieve details of a specific Cloudlayer job by its ID. Use this to check the status of an async job, get the asset download URL after completion, or view job parameters. Returns 401 if the job ID doesn’t exist or doesn’t belong to your account.Input Parameters
The unique identifier (UUID) of the job to retrieve. Obtain this from job creation responses or list_jobs.
Output
Get API Status
Get API Status
Get Storage Configuration by ID
Get Storage Configuration by ID
List Assets
List Assets
List Jobs
List Jobs
List Storage Configurations
List Storage Configurations
Slug:
CLOUDLAYER_LIST_STORAGERetrieves all user storage configurations (S3-compatible buckets) for the authenticated Cloudlayer account. Use this to view configured external storage destinations where generated documents can be saved. Note: User Storage is an Enterprise plan feature. Non-Enterprise accounts will receive an empty list.Output
Template to PDF
Template to PDF
Slug:
CLOUDLAYER_TEMPLATE_TO_PDFGenerate a PDF document from an HTML/Nunjucks template with dynamic data. Provide either: - A templateId for predefined templates from CloudLayer’s template library, OR - A base64-encoded template string containing custom HTML/Nunjucks markup. The data parameter populates template variables (e.g., {{name}}, {{items}}) with your JSON data. By default, jobs run asynchronously and return a job ID to poll for completion via get_job_by_id.Input Parameters
JSON string containing key-value pairs to populate template variables. For example, if your template has {{name}} and {{items}}, provide ’{“name”: “John”, “items”: [“A”, “B”]}’.
If true (default), returns immediately with a job ID for status polling. Set to false to wait for PDF generation to complete before returning.
Paper format (letter, legal, tabloid, ledger, a0–a6).
If true (default), saves the PDF to CloudLayer storage and returns an asset URL. Set to false to return the PDF directly in the response (requires async_=false). Can also provide a StorageOption object with a custom storage ID.
HTML template for footer with tokens ‘{{pageNumber}}’ and ‘{{totalPages}}’.
Output
Convert URL to Image
Convert URL to Image
Slug:
CLOUDLAYER_URL_TO_IMAGE_POSTConverts a webpage URL to an image (PNG, JPG, or WebP). Supports custom viewport settings, wait conditions, transparency, auto-scroll, and thumbnail preview generation. The API is asynchronous - use the returned job ID to poll for results.Input Parameters
Navigation wait condition: load, domcontentloaded, networkidle0 (0 connections), or networkidle2 (2 or fewer connections).
Output
Convert URL to PDF
Convert URL to PDF
Slug:
CLOUDLAYER_URL_TO_PDF_POSTConvert a URL to PDF using a POST request, with options for paper size, margins, headers, and footers.Input Parameters
Predefined paper format (lowercase)
When to consider navigation complete. ‘networkidle2’ waits until 2 or fewer network connections for 500ms
HTML template for footer. Supports class tokens: .date, .title, .url, .pageNumber, .totalPages
HTML template for header. Supports class tokens: .date, .title, .url, .pageNumber, .totalPages