By default, AI nodes return plain text, which isn’t always ideal for automation.
To make the output clean and consistent, just follow this simple approach:
What to do:
In your prompt, clearly request a JSON response.
Example:
Respond in JSON format. Your reply should be a JSON object with three lines only, like this:
{ "name": "John", "status": "active", "score": 87 }
Scroll to the bottom of the node settings and turn on:
Response Format → Parsed JSON
This ensures the AI always returns a structured object with the fields you expect — ready for use in your scenario.
Why this helps:
• Retrieve multiple variables in a single request
• Avoid formatting issues when parsing responses
• Ensure smooth data flow between your AI, APIs, and automation
• Build more predictable and stable scenarios
Have questions about working with Latenode? Drop them in the comments!