Custom actions ability to insert our own body

When setting parameters in our custom action, we only have the ability to add one key and value at a time. We are not able to send our own custom formatted body which makes it to where we cannot send an array.

I tried sending the entire array in the value, and my endpoint wouldn’t recognize it as an array.

This example is upserting a contact in GHL and adding in a custom field.

"customFields": [

{

"id": "JhcInPakj9xMbD9",

"key": "ai_inbound_status",

"field_value": "New Inbound AI Call"

}

]

I tried putting the array as the value and get this error.

  • status:"failed"

  • results:

    • status:"failed"

    • data:

      • message:

        • 0:"customFields must be an array"

      • error:"Unprocessable Entity"

      • statusCode:422

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

💡 Feature Request

Date

About 2 months ago

Author

Workrr

Subscribe to post

Get notified by email when there are changes.