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.
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.
- Open Sources → Connect a source → Common Room.
- Enter the Common Room room ID.
- 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"}' --jsonUse REST when your Common Room account permits access. Store the token as the connection’s
apiTokencredential 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 --jsonFor MCP-only access:
- Run
ocmgr connection connect CONNECTION_ID --json. - Open the returned link while signed in as an owner.
- 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 unverifiedImport 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 --jsonThe 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 resumeto continue.ocmgr migration cancelstops 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 gapsCheck 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" --jsonLater extracts on the same connection respect removed links and Not the same decisions.
Done whenThe import's remaining links identify the correct peopleCut 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.- Connect the native sources that replace Common Room’s connections.
- Recreate the required routing rules.
- Verify each connection.
- Prepare the cutover plan.
- Import each native source.
- Create a real event in each source, such as a forum post.
- Wait for the worker to deliver the event.
- Verify the cutover.
- Record each remaining gap and the reason you accept it.
- Complete the cutover.
Do not import native sources before preparing the plan.
For each source,
liveAftermarks 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":[]}' --jsonFor an export-only workflow, prepare a plan without routing workflows. Supply
noRoutingRequiredReasoninstead.Done whencutover verify confirms a real delivery for each required workflowPoint 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.- Create a Datum API key through Settings → Access → Create API key.
- Replace
https://api.commonroom.io/community/v1withhttps://<your-ocmgr-host>/community/v1in the integration. - Replace the Common Room token with the Datum API key.
- 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 requireid; social references use objects withvalue, 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-uploadmapping with a normal CSV source. These uploads remain separate from migration.Done whenapi-token-status identifies the workspace, and a test contact appearsBefore you cancel Common RoomCheck that Datum contains the required data and workflows
Matching contact totals do not prove migration completeness.
- Download the reconciliation report.
- Check coverage by source and date.
- Review unresolved relationships with
ocmgr migration records MIGRATION_ID. - Rebuild the required segment filters.
- Confirm that every live source reports healthy status.
- 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
teambecomesCommon 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.
- Export a complete bundle from Common Room.
- Place
manifest.jsonbeside the files. - Record each file’s dataset, format, and checksum in the manifest.
- Describe missing history in the manifest.
- Inspect the bundle.
- Start the migration.
- Run the staging dry run.
- Check its results.
- Stage the bundle.
- 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{ "name": "inspect_migration", "arguments": { "connectionId": "CONNECTION_ID", "transport": "rest" } }
{ "name": "get_migration_status", "arguments": { "id": "MIGRATION_ID" } }
{ "name": "get_migration_report", "arguments": { "id": "MIGRATION_ID" } }curl -X POST "$OCMGR_URL/v1/migrations/inspect" -H "Authorization: Bearer $OCMGR_API_KEY" \
-H 'content-type: application/json' -d '{"connectionId":"CONNECTION_ID","transport":"rest"}'
curl "$OCMGR_URL/v1/migrations/MIGRATION_ID/report" -H "Authorization: Bearer $OCMGR_API_KEY"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.