Hi I have created a workflow that pull data from a Wordpress Custom Post Type, I then use perplexity to do additional research on the subject of the post, I then format the return using claude, all of that works great, but when I use HTTP REQUEST to update the final content from all my modification, the post gets updated without the HTML tags, even do during the preview on HTTP REQUEST it shows the HTML code before posting it to wordpress.
What am I missing?
Remember this is a custom post type CPT and I have to use HTTP REQUEST to update it.
I have tried two ways to update the content, both result in the HTML formatting to be removed.
I dont think theme matter so much, as you just need to provide in the block editor format, or elementor format etc… watching as not 100 percent sure, my post using that templates formats all okay into Wordpress, hope it helps
Neither one, my theme WPGeodirectory creates CPT for their listings, also I tried using Elementor and tried to POST to their meta key _elementor_content and had the same result, even posting to a regular post it doesn’t pass the HTML formatting. I am using the latest version of N8N v 1.93.0 self hosted.
If I try to post this to my content “Hi this is a bolded text this is a new line ” I will get “Hi this is a bolded text his is a new line” all in one paragraph that can be huge is you are passing a lof of content to the post.
The documentation is very lacking, and it seems you’re directly using this endpoint Posts - GeoDirectory V2 Documentation, correct? What if you target the raw parameter instead of rendered?
I tried both, raw.content and rendered.content
also all 3 at the same time.
Still it strips all the HTML code from the content, I even tried different nodes to render the output before doing a POST or even PUT using HTTP REQUEST