Parsing Multipart Form Data

One of my webhooks is only receiving the raw payload data. The data seems to be coming in as follows:

------------------------------68d2437ab8d6

Content-Disposition: form-data; name=“module”

Opportunities
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“record”

cb44fc57-6911-187f-f8c5-5b913cac7cb4
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“user”

1
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“source”

workflow
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“action”

saved
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“when”

after
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“workflow”

32a44732-932d-4e09-8436-5bfeec5077be
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“operation”

5a7b086a-7855-6f83-bdc9-5c016af47dfe
------------------------------68d2437ab8d6
Content-Disposition: form-data; name=“tracker”

6f7dd116-ac85-58a6-9eeb-5c016b6be714
------------------------------68d2437ab8d6–

Is there a way to parse out the form data into some type of field for each value? Whether that is XML or JSON.

Hi Darren,

There’s no baseline functionality to do that. You will need to use something like Java/Javascript/PHP to parse it.