with Microsoft OneDrive and Supernotes?
Create a single card with the minimum amount of data required. See docs here
Create a sharing link for a DriveItem. See the documentation
Download a file stored in OneDrive. See the documentation
Search for a file or folder by name. See the documentation
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}`,
},
})
},
})
The Supernotes API lets you automate your note-taking and knowledge management tasks. With Supernotes, you can create, update, and organize cards, collaborate on notes with teammates, and track changes in your knowledge base. Using Pipedream, you can harness these abilities to create intricate workflows that leverage the capabilities of Supernotes in concert with hundreds of other services, creating a seamless integration for productivity and collaboration.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supernotes: {
type: "app",
app: "supernotes",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.supernotes.app/v1/profiles/`,
headers: {
"Api-Key": `${this.supernotes.$auth.api_key}`,
},
})
},
})