File Upload to Dropbox Custom Outputs Query


So I have managed to setup my app to upload files to Dropbox with the Upload Files flow function. Everything works smoothly. Where I am having a bit of trouble is figuring out how to receive the return object from dropbox which is in json form. The default output at Port 1 is just a job id which is an incremental number.

I need to save the id from the json object returned by dropbox.


Looking at Dropbox API for /upload it doesn’t list any property called job id.

HTTP Request Flow function on Output 1 and 2 gives you Response body in json format – any value. HTTP response body as parsed JSON.

Do you mean Output 1 - Response body in json format or Raw response body – text returns you some “job id” key value pair?

    "client_modified": "2015-05-12T15:50:38Z",
    "content_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "file_lock_info": {
        "created": "2015-05-12T15:50:38Z",
        "is_lockholder": true,
        "lockholder_name": "Imaginary User"
    "has_explicit_shared_members": false,
    "id": "id:a4ayc_80_OEAAAAAAAAAXw",
    "is_downloadable": true,
    "name": "Prime_Numbers.txt",
    "path_display": "/Homework/math/Prime_Numbers.txt",
    "path_lower": "/homework/math/prime_numbers.txt",
    "property_groups": [
            "fields": [
                    "name": "Security Policy",
                    "value": "Confidential"
            "template_id": "ptid:1a5n2i6d3OYEAAAAAAAAAYa"
    "rev": "a1c10ce0dd78",
    "server_modified": "2015-05-12T15:50:38Z",
    "sharing_info": {
        "modified_by": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc",
        "parent_shared_folder_id": "84528192421",
        "read_only": true
    "size": 7212

Thank you for your reply!

I am using the Upload Files flow function as I couldn’t manage to get files uploaded with HTTP Request Flow Function. In the Upload Files flow function, Port 1 (which is sucess) gives two Outputs,

Uploaded files – list of unknown types
Object describing the cached file in the local filesystem

Upload job ID – number
Unique job ID for the upload.

I need to somehow access this very raw json data that you posted but am unable to figure out how. The docs on Upload Files is a bit thin so that didn’t help and there is nothing similar in the existing forum questions/answers. Just being able to access the id being returned in the json object will suffice for the time being.

Job Id is a local Appgyver thing, and not something that the Dropbox Api returns.