Parse and construct JSON data within your workflow
The JSON Node allows you to easily parse JSON-formatted strings into structured data and construct JSON strings from structured data within your Pathlit workflows. This node is particularly useful when integrating with APIs, handling webhooks, or processing data from external sources that communicate using JSON.
The JSON Node does not require any specific authentication or external configuration. It is ready to use immediately upon adding it to your workflow.
The JSON Node accepts the following inputs:
Note: You should provide either a JSON String or Structured Data as input, depending on your intended operation. Providing both simultaneously may lead to unexpected behavior.
The node outputs the following:
API Integrations:
When interacting with third-party APIs that return JSON responses, use the JSON Node to parse the response into structured data that can be easily used in subsequent nodes.
Webhook Processing:
If your workflow receives webhook payloads in JSON format, the JSON Node allows you to parse and extract relevant information for further processing.
Data Transformation:
Convert structured data from your workflow into JSON format to send to external services or APIs that require JSON payloads.
Debugging and Logging:
Easily inspect and log JSON data within your workflow by parsing it into structured data, making it simpler to debug and review.
Invalid JSON Format:
If the input JSON string is improperly formatted, the node will raise an error. Ensure the JSON string is correctly formatted and valid.
Empty Inputs:
If no input is provided, the node will not execute successfully. Ensure either a valid JSON String or Structured Data is provided.
If you encounter any issues with the JSON Node that are not covered in this documentation, please reach out to our support team for assistance.
Trigger workflows based on incoming webhook requests
Make HTTP requests to external APIs within your workflow
Output structured data from your workflow
Execute custom Python code to manipulate and process data