Syntax for Zapier new case attachments

When creating a new Trak QR automation case from Zapier, you can send optional attachments, as a JSON payload.

The payload is a JSON array of fields, each with the following shape:

{"kind": "<name of field here>", "val": "<value of field here>"}

Exemple attachments payload:

[
  {"kind": "First name", "val": "John"},
  {"kind": "Last name", "val": "DOE"},
  {"kind": "Age", "val": 32 }
]

If you want to record a value but not show it in the Trak app, you can mark it as internal:

{"kind": "myInternalId", "val": "XYZ123456", "internal":true }