Hi,
I've set up an integration between NS and S3 to take files from the file cabinet and move them to an S3 bucket. Now I'd like to update NS transactions with the resulting file URLs, I see in the S3 response (if I enable the debug mode) the file location which is exactly what I need:
{
"request": {
"Bucket": "natbucket",
"Key": "Bill.pdf"
},
"response": {
"ETag": "\"d009398a2f768f8c37c7a998a6d12849\"",
"Location": "https://natbucket.s3.amazonaws.com/Bill.pdf",
"key": "Bill.pdf",
"Key": "Bill.pdf",
"Bucket": "natbucket"
}
}
But I can't access that data in the response mapping. The only data available is shown below.
name has "Bill.pdf" and _json only has: (all the other fields are empty)
"_json": {
"name": "Bill.pdf"
}
Is it possible to get the full response from S3? I can hardcode the file URL but that would be my last resource.
Thanks!!