Google Workspace Admin

Business apps & collaboration tools

Integrate the Google Workspace Admin API with the Python API

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

Run Python Code with Python API on New Admin Activity By Application Name from Google Workspace Admin API
Google Workspace Admin + Python
 
Try it
Run Python Code with Python API on New Admin Activity By User And Application Name from Google Workspace Admin API
Google Workspace Admin + Python
 
Try it
Run Python Code with Python API on New Admin Activity By User from Google Workspace Admin API
Google Workspace Admin + Python
 
Try it
Run Python Code with Python API on New Admin Activity from Google Workspace Admin API
Google Workspace Admin + Python
 
Try it
New Admin Activity from the Google Workspace Admin API

Emit new admin activities

 
Try it
New Admin Activity By Application Name from the Google Workspace Admin API

Emit new admin activities by selected user

 
Try it
New Admin Activity By User from the Google Workspace Admin API

Emit new admin activities by selected user

 
Try it
New Admin Activity By User And Application Name from the Google Workspace Admin API

Emit new admin activities by selected user and application name

 
Try it
List Activities By Admin with the Google Workspace Admin API

Retrieves a report of all Admin console activities done by a specific administrator. See the docs for more information

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
List Activities By Event Name with the Google Workspace Admin API

Retrieves a report of all activities for a specific event name. See the docs for more information

 
Try it
List Activities By Event Name and Admin with the Google Workspace Admin API

Retrieves a report of all activities for a specific event name and admin. See the docs for more information

 
Try it
List All Activities with the Google Workspace Admin API

Retrieves a report of all administrative activities done for an account. See the docs for more information

 
Try it

Overview of Google Workspace Admin

The Google Workspace Admin API unlocks the power to manage your organization's Google Workspace services. With Pipedream, leverage this API to automate user account management tasks, control devices, manage groups, and gain insights through reports. Simplify complex operational workflows and keep your Workspace environment finely tuned and secure without manual intervention.

Connect Google Workspace Admin

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_workspace: {
      type: "app",
      app: "google_workspace",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.google_workspace.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}