# Chat node response with JSON

**URL:** <https://community.n8n.io/t/chat-node-response-with-json/60646>\
**Category:** Questions\
**Created:** [November 4, 2024, 9:17am UTC](https://community.n8n.io/t/chat-node-response-with-json/60646 "2024-11-04T09:17:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![aya](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/aya/32/194036_2.png) [@aya](https://community.n8n.io/u/aya)\
**Post date:** [November 6, 2024, 1:19pm UTC](https://community.n8n.io/t/chat-node-response-with-json/60646/3 "2024-11-06T13:19:26Z")

</div>

Hi @Adam_Hajdu,

Welcome to the community 🎉

> **Tip for sharing your workflow in the forum**
>
> #### Pasting your n8n workflow
> 
> * * *
> 
> Ensure to copy your n8n workflow and paste it in the _code block_, that is in between the pairs of triple backticks, which also could be achieved by clicking `</>` (preformatted text) in the editor and pasting in your workflow.
> 
> ```  
> \<your workflow\>  
> ```
> 
> Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!
> 
> * * *

This looks similar to the issue here:

> [@Chat embed returns JSON](http://community.n8n.io/t/chat-embed-returns-json/52574/3):
>
> Hi @holgerkurtz92 Thanks for posting here and welcome to the community! tada What does the end of your workflow look like? If you use a Set Node for example you can specify a key value with the name of either text or output and set it to the AI response. The Agent will then pick that up and return only the response text. Here’s an example of what I mean:

Have you tried out the above solution?

---

_[View the full topic](https://community.n8n.io/t/chat-node-response-with-json/60646)._
