• 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 trigger from Glideapp not recognised

Status
Not open for further replies.

Rajeev

Member
My Glide app sends a JSON payload via webhook to Pabbly.

However, upon receipt of the payload, Pabbly splits the JSON into its fields - it does this whether Simple Response is toggled on or off.
This means that I cannot use the iterator.

Do you have a solution for this? I've pasted the JSON below for your review.

--
To try to find a workaround, I had the JSON encoded in Base64 by Glide and then sent to Pabbly.
I then used the Data Transformer to decode the JSON.

The decoder adds a string to the start of the
--
JSON [2023-10-04T18:22:22.012Z] [INFO]
--

so I added a Formatter step to find and remove this regular expression. The final result is the JSON exactly as sent by Glide.

However, when I try to use the iterator on this input, the result is empty.

JSON:
    {
  "cart": [
    {
      "item_id": "hm5CJkl4TVO8xdwEr8KWXA",
      "item_name": "First Listing Test Title",
      "item_price": 25000,
      "seller_email": "[email protected]"
    },
    {
      "item_id": "lXSLOul6R0SFeYiVzGsKPg",
      "item_name": "shirt",
      "item_price": 15000,
      "seller_email": "[email protected]"
    },
    {
      "item_id": "fkFkQuxlTXaClt2AUGk4Vg",
      "item_name": "Camisa Rosa Farm PP",
      "item_price": 17500,
      "seller_email": "[email protected]"
    },
    {
      "item_id": "vRoRrwIYR3Otl1DQxy5y8w",
      "item_name": "Blusa len o estampada flor de sol",
      "item_price": 20000,
      "seller_email": "[email protected]"
    },
    {
      "item_id": "gFzLU-51TVilAdlckzh89Q",
      "item_name": "First Listing Test Title",
      "item_price": 25000,
      "seller_email": "[email protected]"
    }
  ]
}

1696520113998.png


As you can see, the iterator recognises 4. Result [] as an array but its response is empty.
 
P

Pabblymember11

Guest
Hey @Rajeev

As the JSON you are attempting to supply was initially encapsulated within an object, the Iterator action step is encountering issues in obtaining a suitable JSON array. Consequently, we have modified your workflow by implementing the Select Transform action step.

Please check your workflow once -

1696589660225.png
 
Status
Not open for further replies.
Top