AutomationFlowsGeneral › Create, update, and get a user using the G Suite Admin node

Create, update, and get a user using the G Suite Admin node

Create, update, and get a user using the G Suite Admin node. Uses manualTrigger, gSuiteAdmin. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesG Suite Admin
General Trigger: Event Nodes: 4 Complexity: ★★☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "215",
  "name": "Create, update, and get a user using the G Suite Admin node",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        240,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "G Suite Admin",
      "type": "n8n-nodes-base.gSuiteAdmin",
      "position": [
        440,
        300
      ],
      "parameters": {
        "domain": "n8n.io",
        "lastName": "Nat",
        "password": "sjhdjsdhbajshdb",
        "username": "nat",
        "firstName": "Nathan",
        "additionalFields": {}
      },
      "credentials": {
        "gSuiteAdminOAuth2Api": "<your credential>"
      },
      "typeVersion": 1
    },
    {
      "name": "G Suite Admin1",
      "type": "n8n-nodes-base.gSuiteAdmin",
      "position": [
        640,
        300
      ],
      "parameters": {
        "userId": "={{$node[\"G Suite Admin\"].json[\"id\"]}}",
        "operation": "update",
        "updateFields": {
          "lastName": "Nate"
        }
      },
      "credentials": {
        "gSuiteAdminOAuth2Api": "<your credential>"
      },
      "typeVersion": 1
    },
    {
      "name": "G Suite Admin2",
      "type": "n8n-nodes-base.gSuiteAdmin",
      "position": [
        840,
        300
      ],
      "parameters": {
        "userId": "={{$node[\"G Suite Admin\"].json[\"id\"]}}",
        "options": {},
        "operation": "get"
      },
      "credentials": {
        "gSuiteAdminOAuth2Api": "<your credential>"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "G Suite Admin": {
      "main": [
        [
          {
            "node": "G Suite Admin1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "G Suite Admin1": {
      "main": [
        [
          {
            "node": "G Suite Admin2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "G Suite Admin",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

About this workflow

Create, update, and get a user using the G Suite Admin node. Uses manualTrigger, gSuiteAdmin. Event-driven trigger; 4 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →