Auto uploading files from Netsuite to self Box account
Hi Team,
I'm required for my client to integrate NetSuite with Box to auto upload files. I checked the integration APIs, but that seems to require the user explicitly grants permission through the web application to get an access token.
That is fairly obvious if I want authentication with multiple Box users. But here's the case to authenticate with a single box account only.
The requirement is to run a schedule script daily/weekly and generate the pdf files of all transaction records then upload it to a Box account arranged in different folders/subfolders. Now, these folders can have shared access to multiple employees/Box users.
I couldn't find a way to generate access token without any manual interaction in my script. If there's any, please refer.
I also tried installing 'Box for NetSuite' bundle into our test account; This is nice but requires manual work to upload files and create folders of the desired name.
I'm seeking for your help or refer any guide to accomplish this requirement for our client. I wonder since the 'Box for NetSuite' already connects a NetSuite account with a Box account, is there any way/API to automate file uploads via this?
Or can the Box auto sync with a file cabinet in NetSuite, similarly it does with Box's desktop app?
Any help is appreciated.
-
Good morning ,
you are using the OAUTH 3-legged authentication as per what I understand and built the application following these guidelines: https://developer.box.com/docs/getting-started-box-integration
Probably you need to build a box platform integration: https://developer.box.com/docs/getting-started-box-platform
This uses app users (technical users) using JWT. So, you rely on a unique user (or several depending on needs) but not real named users.
Thanks
Please sign in to leave a comment.
Comments
2 comments