Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Convert → Convert Message to JSON
AI-generatedOverview
The node "0CodeKit" provides a collection of no-code utility tools grouped by resource types. Specifically, the Convert resource includes an operation to convert a plain message string into JSON format. This is useful when you have raw text data that needs to be structured as JSON for further processing or integration with other systems.
A practical example: You receive a message from an external source in plain text and want to transform it into a JSON object so that subsequent nodes can easily access its properties.
Properties
| Name | Meaning |
|---|---|
| Message | The content of the message to convert into JSON format. Example: "Hello world, this is a test message" |
Output
The node outputs a JSON object representing the converted message. The exact structure depends on the conversion logic but generally will contain the original message parsed or wrapped as JSON data.
If the node supports binary data output, it would typically represent the converted JSON as a binary file or stream, but based on the provided information, the output is JSON only.
Dependencies
- Requires an API key credential to authenticate requests to the external 0CodeKit service.
- The node sends a POST request to the endpoint
/convert/msgtojsonwith the message in the request body. - The base URL for the API is
https://prod.0codekit.com. - Proper network connectivity and valid API credentials are necessary.
Troubleshooting
Common issues:
- Invalid or missing API key credential will cause authentication failures.
- Malformed input message might result in errors or unexpected JSON output.
- Network connectivity problems can prevent the node from reaching the API endpoint.
Error messages:
- Authentication errors usually indicate invalid or expired API keys; verify and update credentials.
- Parsing errors may occur if the message cannot be converted to JSON; ensure the input message is properly formatted or compatible.
- Timeout or connection errors suggest network issues; check internet connection and firewall settings.
Links and References
- 0CodeKit API Documentation (assumed base URL for reference)
- n8n documentation on Creating Custom Nodes