How do I send a JSON array (templateParams) and calculate a value in the API (Pabbly) action?
Status: Awaiting reply · Asked by Arpit Chawala on · 0 views
I'm using the API (Pabbly) action to POST to https://backend.aisensy.com/campaign/t1/api/v2 with Payload Type JSON. The API needs a JSON array field
templateParams with 4 values, for example ["Name","Product","1150.00","10350.00"]. Set Parameters only allows key-value pairs, so I can't send an array. The 3rd value also needs to be calculated as total_price minus total_outstanding from the Shopify order.- How do I send
templateParamsas a real JSON array, in Set Parameters or through Select Transform? - Please share the exact Transform template (or another method) that builds this array and does the subtraction. I'm on the free plan.
Workflow: Shopify V2 New Order → Delay → Filter → API (Pabbly).