with SFTP (key-based auth) and Microsoft 365 Planner?
Emit new events when files get created, changed or deleted from a remote directory. See the docs
Emit new event when a new Plan is created in Microsoft 365 Planner
Emit new event when a new Task is created in Microsoft 365 Planner
Create a new bucket in Microsoft 365 Planner. See the documentation
Uploads a file or string in UTF-8 format to the SFTP server. See the documentation
Create a new plan in Microsoft 365 Planner. See the documentation
Create a new task in Microsoft 365 Planner. See the documentation
List all user tasks in Microsoft 365 Planner. See the documentation
The SFTP (key-based auth) app on Pipedream allows you to securely transfer and manage files over a network. It uses SSH for data transfer and provides the same level of security as SSH, without requiring password authentication, making automation workflows more secure and less prone to human error. You can automate file uploads, downloads, synchronization tasks, and efficiently manage your remote files in a serverless environment. Integrating this with other Pipedream-supported apps enables you to craft powerful and secure data flow systems.
module.exports = defineComponent({
props: {
sftp: {
type: "app",
app: "sftp",
}
},
async run({steps, $}) {
const Client = require('ssh2-sftp-client');
const {
host,
username,
privateKey,
} = this.sftp.$auth
const config = {
host,
username,
privateKey,
}
const sftp = new Client()
await sftp.connect(config)
this.cwd = await sftp.cwd();
return await sftp.end();
},
})
The Microsoft 365 Planner API lets you tap into the robust task management capabilities of Planner within the Microsoft 365 suite. With this API on Pipedream, you can automate tasks, sync Planner data with other services, manage plans, tasks, and buckets programmatically. This opens up possibilities for creating custom workflows to enhance productivity, streamline project tracking, and maintain synchronization across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_365_planner: {
type: "app",
app: "microsoft_365_planner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_365_planner.$auth.oauth_access_token}`,
},
})
},
})