[01] LOOP
FinanceintervalHardened

Global Payroll on Autopilot

Inspired by Deel — configure countries, pay rules, and cutoffs; run payroll in 150+ currencies with compliance checks before each run.

Inspired by Deel

by Trooper

Kickoff prompt
/loop 30m Start the "Global Payroll on Autopilot" loop.

Inspired by Deel (https://www.deel.com).

Goal: every worker paid on time with compliant deductions and approved payroll runs
Max iterations: 20
Between iterations run: Report workers missing pay data, failed compliance checks, pending approvals, and payout errors
Exit when: all payroll runs approved or explicitly escalated, zero payout failures, and compliance checks green

## Before you start
- Connect Slack (required) — Payroll run notifications
- Connect Google Sheets (required) — Payroll exception log
- Attach Loop runner (required) — Self-pace iterations and run checks between passes.
- Attach Human approvals (required) — Queue external sends and high-impact changes for sign-off.
- Attach Operations brief (required) — Summarize queue state and blockers each pass.
- Deel (read via browser) — Global payroll platform
- HRIS (read via api) — Employee master data

## Steps
1. Validate roster: Confirm active workers, countries, and pay rules. [tools: HRIS, Deel]
2. Collect inputs: Gather hours, commissions, and one-off adjustments. [tools: Deel, Google Sheets]
3. Compliance checks: Run statutory and contract compliance gates. [tools: Deel]
4. Approval gate: Route payroll preview to finance/HR sign-off. [tools: Slack]
5. Execute payouts: Submit approved run and verify settlement. [tools: Deel]

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.

Guardrails:
- Never submit payroll without human approval
- Escalate compliance blockers immediately
- Do not alter pay rules without audit log

Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.

Steps

1. Validate roster

Confirm active workers, countries, and pay rules.

Tools: HRIS, Deel

2. Collect inputs

Gather hours, commissions, and one-off adjustments.

Tools: Deel, Google Sheets

3. Compliance checks

Run statutory and contract compliance gates.

Tools: Deel

4. Approval gate

Route payroll preview to finance/HR sign-off.

Tools: Slack

5. Execute payouts

Submit approved run and verify settlement.

Tools: Deel

Flow diagram

Guardrails

Rules the agent must follow so it cannot cheat the exit condition.

  • Never submit payroll without human approval
  • Escalate compliance blockers immediately
  • Do not alter pay rules without audit log

More Finance loops