1001fx - NoCode functions icon

1001fx - NoCode functions

1001fx is a set of functions for any automation platform. Our functions are simple, very well tested, scalable and offer features that most automation platforms do not offer.

Actions74

carbone → Get Carbone Cloud Template

AI-generated

Overview

The "Get Carbone Cloud Template" operation in the 1001fx n8n node allows users to retrieve a template file stored on carbone.io, a cloud-based document generation service. This is particularly useful for automating workflows that require fetching and processing dynamic document templates (such as invoices, reports, or contracts) from Carbone Cloud within an n8n automation.

Common scenarios:

  • Downloading a specific Carbone template for further processing or merging with data.
  • Integrating document generation into automated business processes.
  • Fetching templates to be used as binary files in subsequent workflow steps (e.g., rendering, emailing, or storing).

Practical example:
A company uses n8n to automate invoice generation. The workflow fetches a Carbone template using this node, merges it with customer data, and sends the final document via email.


Properties

Name Meaning
API Key Your carbone.io API Key. Required for authenticating requests to the Carbone Cloud API.
Template ID Your carbone.io template ID. Specifies which template to retrieve from Carbone Cloud.
Binary Property Name of the binary property to which to write the data of the read file. Default: data

Output

  • Binary Data:
    The node outputs the downloaded Carbone template as a binary file. The binary data is attached to the output item under the property name specified by "Binary Property".
    • The binary field contains:
      • The file content of the Carbone template.
      • Metadata such as filename and MIME type (inferred from HTTP headers).
  • JSON Field:
    The original JSON input is preserved alongside the new binary property.

Example output structure:

{
  "json": { /* original input fields */ },
  "binary": {
    "data": {
      "data": "<base64-encoded file>",
      "fileName": "template.docx",
      "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
    }
  }
}

(If you set "Binary Property" to something else, replace "data" with your chosen property name.)


Dependencies

  • External Service: Requires access to carbone.io and a valid API key.
  • API Key: You must provide your Carbone Cloud API Key.
  • n8n Configuration: No special configuration required beyond standard credentials setup.

Troubleshooting

Common issues:

  • Invalid API Key:
    Error message: Authentication failed or similar.
    Resolution: Double-check your API Key in the node properties.

  • Template Not Found:
    Error message: Template not found or HTTP 404.
    Resolution: Ensure the Template ID is correct and the template exists in your Carbone account.

  • Binary Property Issues:
    If the binary property name is misspelled or conflicts with other properties, the binary data may not be accessible as expected.
    Resolution: Use a unique and consistent binary property name.

  • File Size Limits:
    Large templates may exceed n8n's memory limits.
    Resolution: Check n8n instance resource settings if you encounter out-of-memory errors.


Links and References

Discussion