with SuiteDash and Microsoft OneDrive?
Create a sharing link for a DriveItem. See the documentation
Download a file stored in OneDrive. See the documentation
The SuiteDash API lets you streamline business operations by automating tasks within SuiteDash, a platform designed for client management, project management, invoicing, and more. Leveraging this API in Pipedream, you can develop custom, serverless workflows. These can include syncing client data across platforms, automating project updates, or triggering event-based invoicing. The key here is to harness the data and actions available through the API to enhance efficiency and reduce manual workload.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
suitedash: {
type: "app",
app: "suitedash",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.suitedash.com/secure-api/contacts`,
headers: {
"Accept": `application/json`,
"X-Public-ID": `${this.suitedash.$auth.public_id}`,
"X-Secret-Key": `${this.suitedash.$auth.secret_key}`,
},
})
},
})
The Microsoft OneDrive API taps into the robust file storage and management capabilities of OneDrive, allowing for operations like file uploads, retrievals, sharing, and synchronization. Integrating this API into Pipedream workflows lets you automate tasks involving file management, content collaboration, and data backup processes. With OneDrive's API on Pipedream, you can streamline document workflows, trigger actions based on file changes, and connect your file storage to countless other services for enhanced productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_onedrive: {
type: "app",
app: "microsoft_onedrive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_onedrive.$auth.oauth_access_token}`,
},
})
},
})