Overview
Perform operations on users, groups, and files or folders, and attach documents to your Freshservice tickets.
Description
Orchestration apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows. The list of actions supported for this app includes:
File and Folder Management
Attach Dropbox File to Ticket Note
Copy File or Folder
Create Folder
Delete File Or Folder
Get File Or Folder Metadata
Upload Ticket Attachments to Dropbox
User Management
Add User To Groups
Add User To Team
Get Group
Get Group Membership of User
Get User by Email
Remove User From Team
Remove User From Groups
Get Available Team Member Roles
Installation Instructions
Create an App
Visit the Dropbox App Console(https://www.dropbox.com/developers/apps/).
Click the Create app button.
Under Choose an API section, select Scoped Access.
Under Choose the type of access you need, select Full Dropbox.
Enter a name for your custom app.
If you have a personal and a business account which are linked, you will be asked to select which account you want to own the app. Once you make a selection, you will be asked to sign in to that account.
Click the Create app button. You will be redirected to the console for your app.
Navigate to the Permissions tab and tick the following scopes and save
Account Info - Permissions that allow your app to view and manage Dropbox account info
account_info.write - View and edit basic information about your Dropbox account such as your profile photo
account_info.read - View basic information about your Dropbox accounts such as your username, email, and country
Files and folders(Permissions that allow your app to view and manage files and folders)
files.metadata.write - View and edit information about your Dropbox files and folders
files.metadata.read - View information about your Dropbox files and folders
files.content.write - Edit content of your Dropbox files and folders
files.content.read - View content of your Dropbox files and folders
Team - Permissions that allow your app to access basic team information
team_info.read - View basic information about your team including names, user count, and team settings
Team_data.member - View structure of your team's and members' folders
Files - Permissions that allow your app to view and manage your team's files and folders
team_data.team_space - View and edit content of your team's files and folders
files.team_metadata.write - View and edit information about your team's files and folders
Files.permanent_delete - Permanently delete members' Dropbox files and folders
Members - Read team memberships and member settings
members.write - View and manage your team membership
members.read - View your team membership
members.delete - Remove and recover your team members' accounts
groups.write - View and manage your team group membership, including removing and recovering member accounts
groups.read - View your team group membership
Note: To work with the SaaS Discovery, following scopes should be added
account_info.read
team_info.read
team_data.member
members.read
sessions.list
events.read
Configure Inline credentials
Visit the Dropbox App Console(https://www.dropbox.com/developers/apps/).
Under OAuth 2, click on a Generate access token, Save this token.
Sample Token
sl.BERRqYRmHtBApv9lQq8L8ri3ZClIRToD7zQCVt16q06VGVoFpARXG3Ewx1nY_CVef9mflJhiPpvRZH2oNxcZwRt8cCJ6QzEKzZmE1BhXykZfhcoZxfSa-SfiLC3OpUeGRH2uCwNE3omL
Note: By generating an access token, the Dropbox orch app is able to make API calls for your own account without going through the authorization flow.
Using Inline credentials in the dropbox orchestration app
Navigate to the installation screen of the orchestration app
Click on the credential dropdown and select Inline Credentials, paste the token saved during token generation.
Freshservice Domain - The domain of your Freshservice tenant.
Example: yourcompany.freshservice.com
4. Freshservice API Key - Login to your Freshservice tenant. Click on your profile icon then "Profile Settings" on the right side pane, under "Your API Key" complete the captcha and copy your API key.