How do I escape characters to return strict xml in a webook?

Hello all,
I am attempting to return xml from an n8n webhook, but i’m not sending strict xml. Instead of sending
This, Hello and welcome the web hook is actually returning this: <Say>Hello and welcome</Say>

Is there a way to return the text not the <

Hey @itpastor!

Welcome to the community :tada:

Does your Webhook call return XML data or do you get JSON? The XML node you’re using will convert the incoming JSON to XML. Can you share the output of the webhook call?

Thanks harshil1712, I figured this out by using the root name in the JSON to XML node

1 Like

That’s awesome! Have fun :slight_smile: