Hi @arnorhaux
You can pass a variable into a script by specifying it as an input variable in the script. I tested adding a custom field to an external contact and verified that the custom field comes back in the API response to GET /api/v2/externalcontacts/contacts. So you should be able to retrieve that data using either a data action or the Get External Contact action in architect, and pass the custom field in that way