Docs / Getting started

From Common Room

Import Common Room history, transfer live sources, and update existing API integrations.

Moving from Common Room has two parts:

  • Migration imports contacts, activity, tags, segments, and custom fields. Its report identifies imported records and gaps.
  • The Common Room-compatible API accepts new pushes from existing integrations after you change their URL and token.

Most teams need both.

MigrationSTART HERE

  • Imports history with a reconciliation report
  • Resumes from completed pages
  • Sends no Slack posts, events, or enrichment requests
  • Requires an owner through the CLI or an agent
  • Imports segments as dated membership snapshots

Compatible API

  • Accepts existing pushes
  • Requires a new URL and API key
  • Accepts new data without importing history
  • Returns 501 for unsupported endpoints

Migration commands require an owner or an API key with admin scope. The web app supports connection creation but no other migration steps.

  1. Connect your Common Room workspaceAssociate a connection with the exact Common Room room ID

    A migration connection identifies one Common Room room. The exact room ID prevents incorrect workspace associations. Names and email addresses cannot identify the room.

    1. Open Sources → Connect a source → Common Room.
    2. Enter the Common Room room ID.
    3. Add a REST API token if available.

    Create the connection from the terminal if you prefer:

    ocmgr connection create --kind commonroom --config '{"sourceWorkspace":"ROOM_ID"}' --json

    Use REST when your Common Room account permits access. Store the token as the connection’s apiToken credential in a private file. Update the connection from that file:

    ocmgr connection update CONNECTION_ID --secret-file token.json --json
    ocmgr migration inspect CONNECTION_ID --transport rest --json

    For MCP-only access:

    1. Run ocmgr connection connect CONNECTION_ID --json.
    2. Open the returned link while signed in as an owner.
    3. Inspect the connection with --transport mcp.

    MCP extraction has not yet passed verification against a live Common Room account. The first run must establish available history. The bundle option below supports file-only access.

    The inspection reports access for each dataset. A sample does not prove that complete history exists.

    Done whenmigration inspect reports each dataset as available, unavailable, or unverified

    Read more: Common Room API →

  2. Import your historyImport the selected datasets in resumable pages

    Choose one transport for each dataset. Include every accessible dataset. The report marks excluded datasets as omitted.

    ocmgr migration start --input '{"connectionId":"CONNECTION_ID","sourceWorkspace":"ROOM_ID","datasets":[{"dataset":"contacts","transport":"rest"},{"dataset":"activities","transport":"rest"}]}' --json
    ocmgr migration status MIGRATION_ID --json
    ocmgr migration run MIGRATION_ID --pages 20 --json
    ocmgr migration report MIGRATION_ID --out reconciliation.json --json

    The background worker also processes pending runs. Each page commits with its checkpoint, so interrupted runs can resume.

    Common Room rate limits cause the run to wait for the requested duration. Expired credentials pause the run. Reconnect after credential expiry. Run ocmgr migration resume to continue.

    ocmgr migration cancel stops further work but retains imported records. Migration sends no Slack cards, outbound events, or enrichment requests.

    Done whenmigration status reports ready, and the report contains no unexplained gaps
  3. Check the peopleReview account groups from Common Room

    Common Room groupings create reversible links with the import method. The import never pins these links. Datum treats Common Room email addresses as unverified.

    Matches between imported contacts and native accounts always require review, including exact email matches.

    List the import’s links. Undo links between different people:

    ocmgr merge list --method import --newest --json
    ocmgr merge undo LINK_ID --reason "These accounts belong to different people" --json

    Later extracts on the same connection respect removed links and Not the same decisions.

    Done whenThe import's remaining links identify the correct people

    Read more: History and undo →

  4. Cut over your live sourcesSet a boundary between imported history and live activity

    Cutover requires migration status ready. It separates Common Room history from native source activity to prevent duplicate or missing records.

    1. Connect the native sources that replace Common Room’s connections.
    2. Recreate the required routing rules.
    3. Verify each connection.
    4. Prepare the cutover plan.
    5. Import each native source.
    6. Create a real event in each source, such as a forum post.
    7. Wait for the worker to deliver the event.
    8. Verify the cutover.
    9. Record each remaining gap and the reason you accept it.
    10. Complete the cutover.

    Do not import native sources before preparing the plan.

    For each source, liveAfter marks the last timestamp in Common Room history. Datum suppresses native events at or before that timestamp. Later events route normally. A prepared boundary cannot change.

    The plan must list required Slack workflows, such as “new posts in category 7 go to #support”.

    Verification requires a real Slack delivery with the expected source, event type, category, and channel. Test messages and disabled rules do not qualify. Each connection also needs successful connection verification within 24 hours.

    Completion records an audit entry. It neither erases history nor merges people.

    ocmgr migration cutover MIGRATION_ID --input '{"action":"prepare","plan":{...}}' --json
    ocmgr ingest NATIVE_CONNECTION_ID --json
    ocmgr migration cutover MIGRATION_ID --input '{"action":"verify"}' --json
    ocmgr migration cutover MIGRATION_ID --input '{"action":"complete","acceptedGaps":[]}' --json

    For an export-only workflow, prepare a plan without routing workflows. Supply noRoutingRequiredReason instead.

    Done whencutover verify confirms a real delivery for each required workflow

    Read more: Routing rules →

  5. Point your integrations at DatumUpdate integrations that send contacts or activity

    Datum supports Common Room Core API v1 at /community/v1. It supports much of API v2 at /api/v2.

    1. Create a Datum API key through Settings → Access → Create API key.
    2. Replace https://api.commonroom.io/community/v1 with https://<your-ocmgr-host>/community/v1 in the integration.
    3. Replace the Common Room token with the Datum API key.
    4. Check the token response:
    curl -H "Authorization: Bearer $OCMGR_API_KEY" "$OCMGR_URL/community/v1/api-token-status"

    Send a test contact with a stable source ID and contact ID:

    curl -X POST "$OCMGR_URL/community/v1/source/product-signups/user" \
      -H "Authorization: Bearer $OCMGR_API_KEY" -H 'content-type: application/json' \
      -d '{"id":"user-123","fullName":"Ada Lovelace","email":"[email protected]","github":{"type":"handle","value":"ada"}}'

    The response returns 202. Contact pushes require id; social references use objects with value, as shown above. See Request bodies for activity pushes, segment additions, tags, and optional contact fields.

    The CLI can also create the key:

    ocmgr apikey create --scopes read,write --name "zapier"

    Untrusted pushes do not verify email ownership. Two pushes with the same unverified email remain separate people. A review item appears when their combined evidence reaches the review threshold; sharing an unverified address alone does not guarantee one. An owner can mark a connection trusted when its source verifies addresses, such as your product’s sign-in system.

    Endpoints for purchased data, including lead scores, prospecting, and website visits, return 501. The Common Room API guide lists these endpoints.

    Recurring CSV uploads can use the commonroom-upload mapping with a normal CSV source. These uploads remain separate from migration.

    Done whenapi-token-status identifies the workspace, and a test contact appears

    Read more: Common Room API →

  6. Before you cancel Common RoomCheck that Datum contains the required data and workflows

    Matching contact totals do not prove migration completeness.

    1. Download the reconciliation report.
    2. Check coverage by source and date.
    3. Review unresolved relationships with ocmgr migration records MIGRATION_ID.
    4. Rebuild the required segment filters.
    5. Confirm that every live source reports healthy status.
    6. Confirm that every required Slack workflow passed cutover verification.

    Common Room segments import as dated membership snapshots. They do not retain live filters.

    Common Room enrichment stops after migration. Datum retains accessible role, company, and location values as dated source records. Your enrichment provider can supply later updates.

    A Common Room tag named team becomes Common Room: team. This prevents imported tags from changing staff classification.

    Done whenEach remaining gap has an accepted, documented reason

Files instead of an API

Bundle imports support accounts without REST or MCP access. Supported exports include the official CLI, product exports, and S3 exports.

  1. Export a complete bundle from Common Room.
  2. Place manifest.json beside the files.
  3. Record each file’s dataset, format, and checksum in the manifest.
  4. Describe missing history in the manifest.
  5. Inspect the bundle.
  6. Start the migration.
  7. Run the staging dry run.
  8. Check its results.
  9. Stage the bundle.
  10. Run the migration.

Keep the files unchanged until the run completes.

ocmgr migration inspect CONNECTION_ID --bundle ./export --json
ocmgr migration start --bundle ./export --input '{"connectionId":"CONNECTION_ID","sourceWorkspace":"ROOM_ID","datasets":[{"dataset":"contacts","transport":"bundle"}]}' --json
ocmgr migration stage MIGRATION_ID --bundle ./export --dry-run --json
ocmgr migration stage MIGRATION_ID --bundle ./export --json
ocmgr migration run MIGRATION_ID --pages 20 --json

Staged pages expire after 30 days. Imported records remain.

From your agent

Every migration step has an MCP tool and REST route. These operations require admin access.

ocmgr migration inspect CONNECTION_ID --transport rest --json
ocmgr migration status MIGRATION_ID --json
ocmgr migration report MIGRATION_ID --out reconciliation.json --json

See start_migration and cutover_migration for the parameters.

Compatibility push sources

The first push to each Common Room destinationSourceId creates a separate source named commonroom-compat:<sourceId>. The ID belongs to the compatibility API, not an existing Datum connection.

Subsequent pushes to that source ID use the same connection. Find its Datum ID with ocmgr connection list --json. See Common Room API before enabling trust for pushed email addresses.