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 → Add Carbone Cloud Template

AI-generated

Overview

This node allows you to add a template file to Carbone Cloud via the 1001fx API. Carbone Cloud is a service for document generation using templates (such as DOCX, ODT, etc.). This operation is useful when you want to upload and register a new template in your Carbone Cloud account, which can later be used for automated document rendering.

Common scenarios:

  • Automating the process of uploading new report or invoice templates.
  • Integrating dynamic document generation workflows where templates are managed programmatically.
  • Keeping template versions up-to-date in Carbone Cloud from within n8n.

Practical example:
A business wants to update its invoice template every month. Using this node, they can automate the upload of the new template file to Carbone Cloud as part of their workflow.

Properties

Name Meaning
Template file The template file to be processed and uploaded to Carbone Cloud.
API Key Your carbone.io API Key, required for authenticating requests to Carbone Cloud services.

Output

  • json: The output will contain the response from the Carbone Cloud API after uploading the template. Typically, this includes information such as the template ID, status, and any relevant metadata returned by the API.
  • If the operation fails, the output will include an error field with details about the failure.

Example output:

{
  "templateId": "abc123",
  "status": "success",
  "message": "Template uploaded successfully"
}

Or, in case of error:

{
  "error": "Invalid API key"
}

Dependencies

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

Troubleshooting

Common issues:

  • Invalid API Key: If the API key is missing or incorrect, the node will return an error message such as "Invalid API key".
  • File Not Provided: If the template file is not specified, the node will fail to execute.
  • Network Issues: Connectivity problems may result in timeout or network-related errors.

Error messages and resolutions:

  • "Invalid API key": Check that your API key is correct and has sufficient permissions.
  • "Template file missing": Ensure the "Template file" property is set and points to a valid file.
  • "Unexpected token ... in JSON": Indicates the API response was not valid JSON; check the Carbone Cloud service status or your request parameters.

Links and References

Discussion