Skip to content
Sarj Workspace Sync

Architecture

Google Workspace supplies identity authority. Your application owns credentials, policy and approval. Explore how each integration uses them.

Follow a workflow

Choose an integration, then click a node to see what happens.

Plan → review → apply
Drag to pan · Pinch or use + / − to zoom

Slack · Step 2 of 6

Plan changes

What comes in

Google authority, current Slack data and the host’s policy.

What happens

  1. Preview the integration’s changes without writing to the provider.
  2. Build the proposed actions and a hash identifying the reviewed plan.

What comes out

A read-only plan: proposed changes, diagnostics and a plan hash.

Check: Only managed fields change; a different plan hash stops the apply.

All integrations and API references
  • Slack — Update at most one Slack profile per apply. Only managed fields change; a different plan hash stops the apply.
  • GitHub — Compare Google authority with GitHub organization, team and repository access. The audit reports proposed changes. It does not apply them.
  • Linear — Replace an email-based default full name with the Google full name. Keep custom names and nicknames. Require an active, unambiguous email match.
  • PagerDuty — Plan membership changes for explicitly mapped Google groups and PagerDuty teams. Missing credentials, incomplete authority or unreviewed mappings block the plan.
  • Sentry — Reconcile the managed team and invitations, then verify the exact target. Organization removals require a separate signed parent workflow.
  • Comp AI — Apply reviewed account changes with fresh identity authority and provider readback. Retained operation state and delivery evidence govern retries after uncertain responses.
  • Attio — Capture Attio and Google evidence for a later reviewed deprovisioning workflow. Refreshing this snapshot does not delete or deactivate an Attio account.

Try a Slack plan/apply example · When a workflow needs storage

Mermaid source (11.3+)
flowchart LR
subgraph slack["Slack"]
slack_google["1. Read Google"]
slack_plan["2. Plan changes"]
slack_review["3. Review in your app"]
slack_apply["4. Recheck before writing"]
slack_provider["5. Slack"]
slack_verify["6. Verify the result"]
slack_google -->|read| slack_plan
slack_plan -->|plan hash| slack_review
slack_review -->|approved| slack_apply
slack_apply -->|write| slack_provider
slack_provider -->|read back| slack_verify
end
subgraph github["GitHub"]
github_google["1. Read Google"]
github_provider["2. Read GitHub"]
github_plan["3. Compare access"]
github_review["4. Review the report"]
github_google -->|Google| github_plan
github_provider -->|GitHub| github_plan
github_plan -->|report| github_review
end
subgraph linear["Linear"]
linear_google["1. Read Google"]
linear_plan["2. Plan changes"]
linear_review["3. Review in your app"]
linear_apply["4. Recheck before writing"]
linear_provider["5. Linear"]
linear_verify["6. Verify the result"]
linear_google -->|read| linear_plan
linear_plan -->|plan hash| linear_review
linear_review -->|approved| linear_apply
linear_apply -->|write| linear_provider
linear_provider -->|read back| linear_verify
end
subgraph pagerduty["PagerDuty"]
pagerduty_google["1. Read Google"]
pagerduty_plan["2. Plan changes"]
pagerduty_review["3. Review in your app"]
pagerduty_apply["4. Recheck before writing"]
pagerduty_provider["5. PagerDuty"]
pagerduty_verify["6. Verify the result"]
pagerduty_google -->|read| pagerduty_plan
pagerduty_plan -->|plan hash| pagerduty_review
pagerduty_review -->|approved| pagerduty_apply
pagerduty_apply -->|write| pagerduty_provider
pagerduty_provider -->|read back| pagerduty_verify
end
subgraph sentry["Sentry"]
sentry_google["1. Read Google"]
sentry_plan["2. Plan changes"]
sentry_review["3. Review in your app"]
sentry_apply["4. Recheck before writing"]
sentry_provider["5. Sentry"]
sentry_verify["6. Verify the result"]
sentry_google -->|read| sentry_plan
sentry_plan -->|plan hash| sentry_review
sentry_review -->|approved| sentry_apply
sentry_apply -->|write| sentry_provider
sentry_provider -->|read back| sentry_verify
end
subgraph trycomp["Comp AI"]
trycomp_google["1. Read Google"]
trycomp_plan["2. Plan changes"]
trycomp_review["3. Review in your app"]
trycomp_apply["4. Recheck before writing"]
trycomp_provider["5. Comp AI"]
trycomp_verify["6. Verify the result"]
trycomp_google -->|read| trycomp_plan
trycomp_plan -->|plan hash| trycomp_review
trycomp_review -->|approved| trycomp_apply
trycomp_apply -->|write| trycomp_provider
trycomp_provider -->|read back| trycomp_verify
end
subgraph attio["Attio"]
attio_provider["1. Capture Attio"]
attio_google["2. Capture Google last"]
attio_store["3. Replace the snapshot"]
attio_review["4. Use in a reviewed workflow"]
attio_provider -->|validated| attio_google
attio_google -->|combine| attio_store
attio_store -->|stored| attio_review
end

Download Mermaid