Actions74
- ai Actions
- array Actions
- audiovideo Actions
- carbone Actions
- charts Actions
- code Actions
- data Actions
- datetime Actions
- events Actions
- files Actions
- geo Actions
- hellospaces Actions
- images Actions
- Get Metadata of an Image
- Scale an Image
- Overlay an Image on another Image
- Scale an Image to Fit Given Dimensions
- Resize an Image
- Mask an Image with Another Image
- Mask an Image with a Circle Mask
- Crops an image by the given x, y, width and height paramters.
- Convert Texts to an Image
- Convert HTML String or URL to an Image
- Generates a QRCode with given text and color.
- Get EXIF from Image
- Remove EXIF from Image
- Modify Image EXIF
- playground Actions
- spreadsheet Actions
- stripe Actions
- youtube Actions
data → Transform JSON format
AI-generatedOverview
The 1001fx - NoCode functions node, when configured with the Resource: data and Operation: Transform JSON format, allows you to transform input JSON data into a new structure using a user-defined template. This is particularly useful for mapping, restructuring, or reformatting JSON objects within your n8n workflows—such as preparing API payloads, cleaning up incoming data, or converting between different data schemas.
Practical examples:
- Mapping fields from one API's response to another API's expected request format.
- Restructuring nested JSON data for easier downstream processing.
- Extracting and renaming specific properties from complex JSON objects.
Properties
| Name | Meaning |
|---|---|
| JSON Template | Template to be filled with data. Defines how the output JSON should be structured. |
| JSON Input | JSON with data. The source data that will be transformed according to the template. |
Output
- json: The output will be a JSON object resulting from applying the provided template to the input JSON data. The structure of this output depends entirely on the template you provide.
- If the transformation is successful, the output will match the template's structure, populated with values from the input.
- If an error occurs (e.g., invalid template or input), the output may contain an
errorfield with details about the issue.
Example output:
{
"result": {
"name": "John Doe",
"email": "john@example.com"
}
}
Or, in case of error:
{
"error": "Invalid template syntax"
}
Dependencies
- External Service: Requires access to the 1001fx API.
- API Key: You must configure the
1001fxApicredential in n8n. - Environment: Internet access is required for the node to communicate with the 1001fx service.
Troubleshooting
Common issues:
- Invalid Template or Input: If the JSON Template or JSON Input is malformed, the node may return an error in the output.
- Authentication Errors: If the
1001fxApicredential is missing or incorrect, requests will fail. - API Connectivity Issues: Network problems or downtime at 1001fx can cause failures.
Error messages:
"Invalid template syntax": Check your JSON Template for correct syntax."Authentication failed": Ensure your API key is set up correctly in n8n credentials."Network error"or"Request failed": Verify internet connectivity and the status of the 1001fx API.