Agent Templates
New Hire Provisioning Agent

New hire provisioning agent template that onboards across Deel, Workspace, and Notion

Open-source Python template. Creates or detects the hire in Deel, provisions their Workspace account, builds the Notion onboarding page, posts the welcome.

New Hire Provisioning Agent
Sample Agent for Acme
May 22 · 10:00 AM ·
47s
Onboard Priya Nair, starting Sep 1
H
Resolving org references in Deel
Employee record created
deelmcp_org_direct_employee_create
Workspace account provisioned
googledwd_create_admin_user
Onboarding page created
notionmcp_notion-create-pages
Priya Nair - Deel, Workspace, Notion, Slack all OK
Mode: create, dry run cleared
Workspace account provisioned through domain-wide delegation
Welcome posted to the team channel with the Notion doc link
Guardrails
Dry run resolves everything first, since Deel records cannot be deleted
Completed steps skipped on rerun, never repeated
Message Claude...
Trusted by teams shipping agents to production
New Hire Provisioning Agent
Sample Agent for Acme
May 22 · 10:00 AM ·
47s
Onboard Priya Nair, starting Sep 1
H
Resolving org references in Deel
Employee record created
deelmcp_org_direct_employee_create
Workspace account provisioned
googledwd_create_admin_user
Onboarding page created
notionmcp_notion-create-pages
Priya Nair - Deel, Workspace, Notion, Slack all OK
Mode: create, dry run cleared
Workspace account provisioned through domain-wide delegation
Welcome posted to the team channel with the Notion doc link
Guardrails
Dry run resolves everything first, since Deel records cannot be deleted
Completed steps skipped on rerun, never repeated
Message Claude...

How the agent turns one new hire into a Deel record, a Workspace account, a Notion page, and a Slack welcome in four steps

A real working agent you can deploy

Two modes: create builds the Deel employee record from your config, scan only provisions hires your HR team already created. Deel cannot delete an employee record once created, so run with NEW_HIRE_DRY_RUN=true first.

01
Authorize Deel, Google Workspace, Notion, and Slack
connectors.py
Connection names are workspace-suffixed in the dashboard, so the exact name goes into .env rather than the provider label. Google Workspace runs through the GOOGLEDWD connector using domain-wide delegation.
connectors.py
CONNECTORS = {"deel": cfg.deel_connector,            # e.g. deelmcp-zTWsHKTh
              "notion": cfg.notion_connector,        # e.g. notionmcp-chAb8Lfz
              "slack": cfg.slack_connector,
              "workspace": cfg.googledwd_connector}

for name, connection in CONNECTORS.items():
    account = client.connect.get_or_create_connected_account(
        connection_name=connection, identifier=cfg.identity[name])
    logger.info("%s: %s", name, account.status)
02
Create or detect the hire in Deel
hire.py
03
Provision the Google Workspace account
connectors.py
04
Create the Notion onboarding page
connectors.py
05
Post the Slack welcome
connectors.py

Agents that onboard a hire across four systems, without the auth plumbing

Four things you'd otherwise build: Deel OAuth, Workspace domain-wide delegation, Notion integration tokens, Slack scopes. Handled.

1
Install
claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install agent-auth@scalekit-auth-stack
terminal
curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash
terminal
copilot plugin marketplace add scalekit-inc/github-copilot-authstack
copilot plugin install agent-auth@scalekit-auth-stack
terminal
curl -fsSL https://raw.githubusercontent.com/scalekit-inc/cursor-authstack/main/install.sh | bash
terminal
npx skills add scalekit-inc/skills --skill integrating-agent-auth
2
Clone github.com/scalekit-developers/workflow-agents-demos/tree/main/new-hire-provisioning-agent and adapt it for my onboarding stack.

I am building for: my people ops team (or: an HR tech product)   <- edit this line
Connectors my users need: Deel, Google Workspace, Notion, Slack   <- edit this line
Trigger: one run per hire, or polling against Deel's onboarding tracker. Deliver: an employee record, a Workspace account, a Notion onboarding page, and a Slack welcome.

Steps:
1. Create Scalekit AgentKit connections for deel, notion, an MCP-variant slack, and Google Workspace via the GOOGLEDWD connector. Copy each exact connection name into DEEL_CONNECTOR / NOTION_CONNECTOR / SLACK_CONNECTOR / GOOGLEDWD_CONNECTOR -- they are workspace-suffixed, not generic labels.
2. Share the Notion onboarding hub page with the integration (page menu > Connections), and invite the Slack bot into the welcome channel.
3. For Google Workspace, authorize all four DWD scopes together (openid, userinfo.email, userinfo.profile, admin.directory.user) and set GOOGLE_WORKSPACE_USER to a genuine Super Admin -- a non-admin subject 403s even when the connection looks healthy.
4. Run NEW_HIRE_DRY_RUN=true first. Deel cannot delete an employee record once created, so never skip this on a real org.
5. Use NEW_HIRE_MODE=scan if my HR team already creates hires in Deel; in that mode the agent must never write an employee record.
6. Keep the per-hire step ledger in state.py so reruns finish only what is missing, then describe how to run it continuously with POLLING_MODE=true.
Why choose Scalekit

Delegated identity. Not service accounts.

Credentials never touch agent code or LLM context. The agent acts as the user, not as a shared bot.
Delegated OAuth - Agent reads your calendar, your inbox — scoped to the authorizing identity, not org-wide.
Credentials outside agent runtime  -  Tokens never touch agent code or LLM context. Both failure modes covered.
Token lifecycle automatic  -  Refresh, expiry, rotation across all connectors. One SDK call. Zero management code.
200+ prebuilt connectors  -  Google, Slack, HubSpot, GitHub, Jira, Notion, Salesforce — same auth pattern everywhere.
Try other Agent Templates

Prebuilt agents you can ship today

Each one runs on delegated identity, scoped per user.

PEOPLE OPS
Offer letter routing agent
Draft the offer in PandaDoc, gate it on hiring manager approval in Slack, then email the candidate their signature link.
PEOPLE OPS
Performance review collector agent
Collect review feedback from Airtable and Google Forms per manager, summarise each report in Notion, and DM the digest in Slack.
OPS
Meeting prep agent
Assemble the agenda, HubSpot attendee history, and open action items from Gmail before every meeting on the calendar.
OPS
Email-to-calendar scheduling agent
Read scheduling intent out of Gmail threads, resolve mutual free time, and create the Google Calendar event.
ENGINEERING
Slack triage agent
Classify new Slack messages as bugs or support requests, file the GitHub issue or Zendesk ticket, and reply in the thread.
SUPPORT
Support ticket automation (Google ADK)
Fetch, annotate, and archive Zendesk tickets with Notion context, digesting anything it cannot answer to Slack.

Build your own
multi-connector agent

Add connectors. Change the LLM. Same delegated auth pattern.