• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

issue creating posts on wordpress

hi this is the output i am getting for rewritten content. it automatically adds the that code in header when i ask it to rewritter and split the output in h2 tags. i have tried changing prompt but this is the only output that i creating the content and formatting it nicely, the only issue is it adds this doctype code in header. if i ask it to provide without that code then it would add '''html in start which shows in published post and i dont want that too.

the workflow was publising the posts on wordpress even like this earlier which was fine for me. but now i noticed it is creating issue for that doctype code. and when i remove that then posts are publised again on wordpress.

could you please recommend or optimise my prompt so it generates the nicely formatted wordpress post with proper h2 tags.

this is workflow url.

Screenshot 2025-06-26 at 12.54.13 PM.png
 

Attachments

  • Screenshot 2025-06-26 at 12.53.42 PM.png
    Screenshot 2025-06-26 at 12.53.42 PM.png
    131.2 KB · Views: 6

Preeti Paryani

Well-known member
Staff member
Hello @serwar24554,

Could you please share a screen recording explaining your exact concern and use case? This will help us understand the issue more clearly.

Additionally, please let us know how you had previously set up the workflow, especially the action step where the issue is occurring. Also, mention any changes you recently made that may have caused the content to stop publishing on WordPress.

This information will help us investigate the concern effectively and assist you accordingly.
 
i figured out the issue. the issue is when i map the categories then the posts were not being published.

now this is what i want to do next. i am updating the google sheet when a new wordpress post is published. i am updating the sheet with the newly created post url.
now that is a sheet which i am using to repurpose the content. in that sheet i already have title, content, featured image and the link field which gets updated via this workflow.
now that sheet has many stories added. now i want the workflow to take posts from the sheet from top to bottom, rewrite them and update the link fields. i want the workflow to start for all the posts one by one which dont have link field filled. meaning it should rewrite the row 1, then row 2 then row 3 etc. and consider each row complete when there is a link url in link column. and also if all the link fields are filled, i want it to stop and only work when there are row which dont have link field filled.

 
Last edited:

Preeti Paryani

Well-known member
Staff member
Hello @serwar24554,

Thanks for the update, glad you got the issue sorted out.

To achieve your new use case, you can set up the workflow as follows:

  1. Scheduler – Set it to run once (or as needed).
  2. Google Sheets: Get Rows (Advanced Format) – To fetch all rows.
  3. Iterator – To loop through each row.
  4. Filter – Check if the link column is empty (i.e., process only unprocessed rows).
  5. Delay – Add a delay step (you can configure the time as needed between each post).
  6. Content Rewriting Action – Use the tool or service you prefer for rewriting.
  7. WordPress: Create Post – To publish the rewritten content.
  8. Google Sheets: Update Row – To update the link column with the newly created post URL.
 
Top