Microsoft OneDrive lets you store your personal files in one place, share them with others, and get to them from any device.
Emit new event when a new file is added to a specific drive in OneDrive
Emit an event when a new file is added to a specific directory tree in a OneDrive drive
Emit an event when a new file of a specific type is created under a directory tree in a OneDrive drive
Emit new event when a new folder is created in a OneDrive drive
Emit an event when a new folder is created under a directory tree in a OneDrive drive
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Create a sharing link for a DriveItem. See the documentation
Download a file stored in OneDrive. See the documentation
Retrieve a table from an Excel spreadsheet stored in OneDrive 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}`,
},
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}