Dropbox list of folders: need guidance

Hello guys,

I am busy building an invoice app’. I would like now to add a functionality to push the created invoice in a dropbox folder selected by the user (then I will add Google Drive).

I did the Oauth2 part to have the authorization token.

Now I want to display the list of folders so that the user can chose from it.

I am struggling with how to buid this. The dropbox works on this: a first API call (“lift of folders”) give you a first list but if the list is long, then a second API (“continue”) needs to be called to get the other part with a recursive loop on “continue” if the list is longer.

I don’t want to store in DB the full list of folders (useless), but I don’t how to build the multiple API calls to get the comprehensive list of folders.

I was thinking of creating a recursive loop in an API workflow but don’t know how to store the increasing list of folders. Maybe I am over-complicating things…

Any idea?

This topic was automatically closed after 70 days. New replies are no longer allowed.