Microsoft OneDrive

Personal cloud storage

Go to site

Integrate the Microsoft OneDrive API with the Telegram Bot API

Setup the Microsoft OneDrive API trigger to run a workflow which integrates with the Telegram Bot API. Pipedream's integration platform allows you to integrate Microsoft OneDrive and Telegram Bot remarkably fast. Free for developers.

Connect Microsoft OneDrive

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://graph.microsoft.com/v1.0/me`,
  headers: {
    Authorization: `Bearer ${auths.microsoft_onedrive.oauth_access_token}`,
  },
})

Connect Telegram Bot

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.telegram.org/bot${auths.telegram_bot_api.token}/getMe`,
})