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

JSON is sent in quotes and therefore not processed as JSON by customer.io

HarryK

Member
I have a workflow with Woocommerce and Customer.io. I send Woocommerce order details to customer.io using the customer.io create event action. In the custom data section I have a label data[line-items] with a value of the line-items from the Woocommerce order. This is a JSON with all order lines. (see screenshot) The event is sent successfully to customer.io. BUT... the line-item attribute contains the JSON in double quotes. Because of the double quotes the JSON is not a JSON in customer.io but a string (see other screenshot). How can I omit or remove the double quotes?
 

Attachments

  • pabbly settings.png
    pabbly settings.png
    107.1 KB · Views: 158
  • customer-io result.png
    customer-io result.png
    99.7 KB · Views: 167

HarryK

Member
I tested your solution, but it removes all " (quotes) in the JSON but I need to remove the outer quotes which are not visible in pabbly. So I tested a little bit more and found that any data is sent as a string. Also if I sent the order amount then in customer.io it is received as a string. How can I send data as JSON or number ?
 

HarryK

Member
Thanks for your support. But I need the JSON because I do not know how many order lines are in the order. And also all values including amounts become strings in the customer.io event. My conclusion is now that this integration does not work in an useful way. Again, thanks for your time & effort.
 
Top