Sinks
Keep person and company records in your CRM or warehouse current as your community graph changes.
A sink keeps records in another system current with your community graph. Supported records include HubSpot contacts, Salesforce contacts, warehouse rows, Google Sheets rows, and JSON lines in S3.
Open Settings → Destinations to find sinks beside event webhooks. Choose Add destination to add a sink. Select CRM sync or Warehouse sync.
State, not messages
An event destination sends a message when a change occurs. A sink maintains a record in another system. It updates that record when a person’s tags change. It updates record references when people merge. It clears the properties it wrote when someone undergoes erasure.
Each sink uses Datum’s ID to find or create records. Repeated deliveries for one person update the same record.
Before you add a sink
A sink needs a reviewed connection for HubSpot, Salesforce, Snowflake, Postgres, S3, or Google Sheets. Add the connection from Settings → Destinations → Add destination. Write-only connections are destinations, so they are not on the Sources page.
When the vendor you choose has no connection, the sink form says so and links to its connect form. A HubSpot connection made as a source also needs Authorise for sinks before a sink can write through it. A sink runs reviewed vendor code in a sandbox. Datum supplies the credential for each call.
A sink also needs an audience. This can include a segment, everybody in the community, or a saved filter over organizations for company sinks.
Who can add a sink
Only workspace owners can add, change, verify, test, enable, backfill, or archive sinks. These actions determine which community records enter another company’s system. Other workspace members can view the list.
Keyed on Datum’s id, never an email address
Each sink finds records by Datum’s member or organization ID. A dedicated property or column stores that ID. Sinks never match records by email address, domain, or name.
Matching on an address could merge CRM records without review or an undo option. Addresses can also change when new evidence arrives. Datum IDs provide stable keys.
Created switched off
Datum creates sinks with delivery disabled.
- Choose Verify to check the destination’s key property.
- Send one person or company as a test.
- Choose Switch on to start writing subsequent changes.
- Choose Backfill to write existing people or companies.
Verify creates the key property when the vendor permits it. This property prevents duplicate records. The test writes a real record and shows which properties Datum sent.
Verify, Test, and Backfill write to another company’s system. Each action requests confirmation. Switch on and Backfill require successful verification.
People or companies
The mapping determines which records a sink writes:
- People: One contact, row, or line per member. A segment or saved filter selects the members.
- Companies: One Company, Account, or row per derived organization. Filters can select organizations by their number of community members.
Erase external copies
Erasure clears every property a sink wrote for that person. This applies to every sink that previously sent the person, including disabled or archived sinks.
The record remains in the destination. Its owner controls record deletion. A warehouse row keeps its columns blank and its redacted status. Readers can distinguish an erased person from someone who never arrived.
Sinks never send message text. Datum does not store that text in graph records.
Email addresses, locations, profile links, and avatars require the owner’s permission. Enable personal data for event bodies under Settings → Destinations to include them.
Sinks always send names, tags, segments, counts, and dates.
Read an archived sink
ocmgr sink list --include-archived --json
ocmgr sink show "$SINK" --jsonUse list_sinks with include_archived: true, or get_sink with the retained sink ID.
POST /v1/sinks/{id}/delete returns archived: true and archivedAt. GET /v1/sinks/{id} keeps returning the configuration. GET /v1/sinks?include_archived=true includes archived rows. Repeating archive keeps the first timestamp.You cannot open an archived sink again. For future ordinary deliveries, create a new sink. The archived sink still sends erasures and dissolutions.
Archived sinks remain under Archived in Settings → Destinations. Open one to read its history. You cannot change its configuration.