Templates / Check new-hire identity risk and provision Google Workspace accounts with RelayShield

Check new-hire identity risk and provision Google Workspace accounts with RelayShield

Unknown

by RelayShield ✓ · 25 views · created 2026-07-20 · HR

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (6)

NotionSlack

What it does

Quick overview This workflow receives a new-hire webhook, checks the hire’s personal email in RelayShield for breach and infostealer exposure, provisions a Google Workspace account via the Admin SDK, and logs both the risk check and provisioning outcomes to Notion with Slack notifications for flagged identities or provisioning failures. How it works 1. Receives an HTTP POST webhook from your HR system with the new hire’s details (including personal email, corporate email, org unit path, and a temporary password). 2. Checks the new hire’s personal email in RelayShield for known credential breaches and infostealer log exposure. 3. If any prior exposure is found, logs a flagged event to a Notion onboarding database and posts an awareness alert to a Slack channel. 4. If no exposure is found, logs a clean identity-check result to the same Notion database. 5. In parallel, creates the new hire’s Google Workspace user account using the Google Admin SDK (via HTTP) and forces a password change at next login. 6. If provisioning succeeds, logs the success to Notion and posts a confirmation message to Slack. 7. If provisioning fails, logs the failure to Notion and posts an urgent Slack alert for manual follow-up. Setup 1. Create and configure your HR system’s new-hire webhook to POST to this workflow’s webhook URL with the expected fields (personalemail, corporateemail, name, department, manageremail, jobtitle, orgunitpath, temppassword). 2. Add RelayShield API credentials for the breach and infostealer checks. 3. Connect Notion OAuth2 credentials, create a Notion database for onboarding/audit logs, and set the n8n variable notionOnboardingDbId. 4. Connect Slack credentials and set the n8n variable slackSecurityChannelId to the target channel for security/IT notifications. 5. Create a Google Workspace Admin SDK domain-wide delegated service account credential (scope: https://www.googleapis.com/auth/admin.directory.user) and ensure orgunitpath values match your Google Workspace org structure.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.