• 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

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

How to add parameters in the API Module that are in an array?! (*Solved - Thx)

Status
Not open for further replies.

MrXShun

Member
Hi guys...I have been wracking my brain trying to figure out the proper formatting to add the correct parameters using the API module, when I need to access values in an array and not just a simple parameter.

I've added some screenshots that I hope will help explain it.
In make.com modules, I just enter all the data in the raw request, but in pabbly I'm unable to access them using the 'Set Parameters Label'

Screenshot 1: Shows the data I'm trying to modify...which is in the data.customFields(4).id:1497381 label? But nothing I try in the label works correctly when I add the value...it always gives me error 400

Screenshot 2: Shows one of many attempts to get the label correctly, and the error I get.

Screenshot 3: Shows in make.com how I can correctly change the value since i just use the raw request content

Hopefully this makes sense.

Thx for any help - Nate
 

Attachments

  • 00 - Paramter I need to access.jpg
    00 - Paramter I need to access.jpg
    79.2 KB · Views: 76
  • 01 - Parameter Attempt.jpg
    01 - Parameter Attempt.jpg
    53.2 KB · Views: 79
  • 02 - Make.com - Request Content.jpg
    02 - Make.com - Request Content.jpg
    24.8 KB · Views: 79

MrXShun

Member
Anyone?? This has been holding me back for awhile now...I just need the proper format to get the data from the array value...as I do in make . com
Thx again. 🙏

@ArshilAhmad, any ideas? (Sorry if this is a simple question...can't find how to anywhere)
 

ArshilAhmad

Moderator
Staff member
Hi @MrXShun,

Could you please share the API documentation and cURL commands for the endpoint you are trying to execute? Also, please provide the Workflow URL where you attempted this.
 

MrXShun

Member
Hi @MrXShun,

Could you please share the API documentation and cURL commands for the endpoint you are trying to execute? Also, please provide the Workflow URL where you attempted this.
Thx so much for the reply @ArshilAhmad
I've created a video to explain everything:
*Redid video without API showing*

Here's the API Doc for the Edit Card for example:

Here is the workflow:
IjU3NjUwNTY0MDYzMjA0MzU1MjZmNTUzNDUxMzAi_pc

Here is a copied workflow on another test account of mine:
IjU3NjUwNTY0MDYzMjA0MzU1MjZmNTUzMDUxMzQi_pc

Don't want to share it publicly as it has API credentials in it...hope you can access it. But the video should explain everything.
 
Last edited:

ArshilAhmad

Moderator
Staff member
Please try using a Custom PATCH Request to enter the JSON directly into the Data field instead of setting parameters.
1722808249745.png


 
Status
Not open for further replies.
Top