• 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.

  • Due to Diwali and Bhai Dooj celebrations, our team will have limited availability. While we’ll continue to monitor threads, responses may be slightly delayed. Normal operations will resume on Friday, 24th October 2025.

how to take html/xml input as string

Hi, I am trying to use pabbly code (python), and I need to work with a xml file. So I am taking the input, but is is not taking xml in a variable.
here is my code, that I wrote to test:
Python:
records="""
<records>
  <record LeadId="1287567" FirstName="JAMES" LastName="DEAN" Address="555 Main Ave Apt 307" ZIP="33433" FolderType="Not Active" ORDERRECORDID="1374" FICO="800" FHA_Mortgage_Balance="300000" VA_Mortgage_Balance="250000" Conv_mortgage_balance="100000" LTV05="81" LEVEL="FHA ITMA" Email="[email protected]" PHONE="555-811-0998" STATE="FL" />
</records>
"""

print("***")
print(records)
record="""
test
"""
print("***")
print(record)

and here is the log I get:
Code:
***


 

    
***

    test
So here we can see that, it is not showing xml in log. and I also cannot do anything with the xml text also. How can I take and format xml in python in pabbly?
 

ArshilAhmad

Well-known member
Staff member
Hi @brianlardner,

It seems like you have set up your workflow properly. Based on your task history, we can see that Code by Pabbly is taking the data as a variable from the step above. This means your workflow is functioning as intended.

Task History ID - IjU3NjEwNTY4MDYzMDA0MzM1MjZjNTUzMDUxMzE1MTY2NTQzMiI_3D_pc
 
Top