Remote collaboration made easy.
Emit new event whenever a share is created in Nextcloud. See the documentation
Emit new event when a new message is posted in a channel
Emit new event when a new message is received in a chat
Creates a new share link from the specified path in Nextcloud. See the documentation
Create a new channel in Microsoft Teams. See the docs here
Retrieves a list of shares based on the specified criteria in Nextcloud. See the documentation
Nextcloud's API lets you tap into your self-hosted cloud storage and collaboration platform. With Pipedream, you can automate tasks like file management, user account operations, and accessing calendar and contacts. It's a treasure trove for creating workflows that sync, share, and manage data programmatically between Nextcloud and other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextcloud: {
type: "app",
app: "nextcloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.nextcloud.$auth.url}/ocs/v2.php/apps/files_sharing/api/v1/shares`,
headers: {
"OCS-APIRequest": `true`,
},
auth: {
username: `${this.nextcloud.$auth.username}`,
password: `${this.nextcloud.$auth.password}`,
},
})
},
})
The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_teams: {
type: "app",
app: "microsoft_teams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
},
})
},
})