Actions6
Overview
This node integrates with the Customje API to perform various text transformation and data extraction operations. Specifically, for the Text to JSON operation under the Custom resource, it converts plain text input into a structured JSON format using the Customje service.
Typical use cases include:
- Converting unstructured text data into JSON for easier processing in workflows.
- Automating data extraction from textual content.
- Preparing text data for further automation steps that require JSON input.
For example, you might input a block of text containing key-value pairs or structured information, and this node will return a JSON object representing that data, enabling downstream nodes to work with structured data instead of raw text.
Properties
| Name | Meaning |
|---|---|
| Customje API Key | The API key credential required to authenticate requests to the Customje API. |
| Text | The plain text string that you want to convert into JSON format. |
Output
The node outputs an array of JSON objects corresponding to each input item processed. For the Text to JSON operation, the json output field contains the JSON representation of the input text as returned by the Customje API.
No binary data is output by this operation.
Example output structure (simplified):
[
{
"someKey": "someValue",
"anotherKey": 123,
...
}
]
The exact structure depends on the input text and how the Customje API interprets and converts it.
Dependencies
- Requires access to the Customje API endpoint at
https://api.customje.com/text-to-json.php. - An API key credential for authenticating with the Customje API must be configured in n8n and provided as the Customje API Key property.
- The node makes HTTP POST requests to the API with the provided text and API key.
Troubleshooting
- Invalid API Key or Authentication Errors: If the API key is missing, invalid, or expired, the API will reject the request. Ensure the API key is correctly entered and active.
- Malformed Input Text: If the input text is not in a format the API can parse, the response may be empty or contain errors. Validate the input text format before sending.
- Network Issues: Connectivity problems or API downtime will cause request failures. Check network connectivity and API status.
- Unexpected API Responses: If the API returns unexpected data or error messages, review the API documentation or contact Customje support.
Common error message pattern:
Error <statusCode>: <error message> - <error type> - <error code>
Resolving these typically involves checking the API key, input parameters, and network conditions.
Links and References
- Customje API Documentation (general reference; actual docs URL not provided in source)
- n8n HTTP Request Node documentation for understanding API calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/