Extract message from JSON Chat

I used the default template to chat with pinecone which all works fine but when i publish and use this workflow via a chat widget i don’t just get the message response i these json keys: { “response”: { “text”: My message response." } }

Information on your n8n setup

  • n8n version: 1.54.4
  • **Running n8n via n8n cloud:
  • Operating system: Windows

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This is the formating inside n8n.

But this is the output on the chat widget.

Workflow

Just bumping this up, is this just an impossible thing todo, or to easy that people don’t want to respond? This is my first use of the tool.

Hi @mwhelan

Thanks for posting here and welcome to the community! :cake:

Can you share your parameters for your Edit Fields node at the end?
You need to have a parameter named either text or output for the Chat Trigger to pick up.

Have a look in our documentation here:

Sure.

instead of response.text try with just text in the field name :slight_smile:

1 Like

yip that worked, thx

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.