Chatbot returns HTML in the answer when i ask a question, how do i remove this?

Describe the problem/error/question

I made a chatbot and i want the chatbot to answer questions using a specific website. For example, if i ask the chatbot what can i use against a cold? i want the chatbot to recommend me a product that is on the website. The chatbot can acces the website via a http request node. When i ask the chatbot a question it returns a lot of html in the answer, i am not sure how i can remove this or what i am doing wrong.

What is the error message (if any)?

i don’t receive any error message.

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

It’s because you added the http node as the last step in your workflow. You should instead give the AI agent access to the site as a sub-node or http tool. You’ll need to now prompt the agent better so it understands how to navigate the website and then fill in any query fields it’ll need to do its job. Simply giving it the main website url is not enough