Google Drive

Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.

Integrate the Google Drive API with the Slack Bot API

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

Add File Sharing Preference with Google Drive API on New Direct Message from Slack Bot API
Slack Bot + Google Drive
 
Try it
Add File Sharing Preference with Google Drive API on New Message In Channel from Slack Bot API
Slack Bot + Google Drive
 
Try it
Archive Channel with Slack Bot API on Changes to Specific Files (Shared Drive) from Google Drive API
Google Drive + Slack Bot
 
Try it
Archive Channel with Slack Bot API on Changes to Specific Files from Google Drive API
Google Drive + Slack Bot
 
Try it
Archive Channel with Slack Bot API on New Files (Instant) from Google Drive API
Google Drive + Slack Bot
 
Try it
Changes to Specific Files from the Google Drive API

Watches for changes to specific files, emitting an event when a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.

 
Try it
Changes to Specific Files (Shared Drive) from the Google Drive API

Watches for changes to specific files in a shared drive, emitting an event when a change is made to one of those files

 
Try it
New Direct Message from the Slack Bot API

Emit new event when a message is posted in a direct message channel (Bot). To open a conversation, use the Pipedream Action "Send a Direct Message" to send a message from the Bot, or enable direct messages to the Bot in your App Settings (Settings->App Home->Show Tabs->Messages Tab), and send a direct message to the Bot.

 
Try it
New Message In Channel from the Slack Bot API

Emit new event when a new message is posted to a public, private or group channel (Bot)

 
Try it
New Files (Instant) from the Google Drive API

Emit new event when a new file is added in your linked Google Drive

 
Try it
Archive Channel with the Slack Bot API

Archive a channel (Bot). See docs here

 
Try it
Create a Channel with the Slack Bot API

Create a new channel (Bot). See docs here

 
Try it
Copy File with the Google Drive API

Create a copy of the specified file. See the docs for more information

 
Try it
Delete File with the Slack Bot API

Delete a file (Bot). See docs here

 
Try it
Create a New File with the Google Drive API

Create a new file from a URL or /tmp/filepath. See the docs for more information

 
Try it

Overview of Google Drive

The Google Drive API on Pipedream allows you to automate various file management tasks, such as creating, reading, updating, and deleting files within your Google Drive. You can also share files, manage permissions, and monitor changes to files and folders. This opens up possibilities for creating workflows that seamlessly integrate with other apps and services, streamlining document handling, backup processes, and collaborative workflows.

Connect Google Drive

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_drive: {
      type: "app",
      app: "google_drive",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Slack Bot

The Slack Bot API allows you to build rich, interactive bots for Slack workspaces. These bots can respond to messages, post updates, and interact with users in various ways. With the Slack Bot API on Pipedream, developers can create automated workflows that trigger on specific events in Slack, such as new messages or reactions, and then perform defined actions, like sending data to other apps or processing the information within Pipedream's serverless platform. This tight integration with Pipedream enables both simple and complex automations, leveraging Pipedream's ability to connect with numerous apps and its powerful built-in code steps.

Connect Slack Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    slack_bot: {
      type: "app",
      app: "slack_bot",
    },
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://slack.com/api/auth.test`,
      headers: {
        Authorization: `Bearer ${this.slack_bot.$auth.bot_token}`,
      },
      method: 'post',
    })
  },
})