Send one record to a sink
Upsert one named subject into the far side, now, and report exactly what was sent — member_id on a sink about people, organisation_id on one about derived companies. This is a **real record in a real CRM**, not a preview, which is why it needs admin and why there is a minute’s cooldown between tests — a retry loop must not become thirty contacts. It runs whether or not the sink is enabled, because seeing what a sink would send is the reason to send one, but it still needs a verified key property: a test that created a duplicate would be a worse answer than a refusal. The properties it returns are the answer to "what leaves?" — with the personal-data gate applied, so an address absent here is an address that will never be sent. Pass the event’s data.event_id as event_id for actions responding to an event; Datum derives the retry key. Add idempotency_key only to separate workflows for the same event/tool. Completed retries return the first result even if text changes, with replayed: true and input_differed: true when different.
Parameters
Optional retry key (1–200 characters). Prefer event_id for event-driven actions; add this key only to distinguish workflows acting on the same event. Completed retries return the first result even if input changes, with replayed: true and input_differed: true when different. Retained for 30 days.
Pass the event’s data.event_id on any action taken in response to an MCP event. Datum derives the retry key from workspace, tool, principal and event; add idempotency_key only to separate workflows. Unknown, foreign or erased events return NOT_FOUND.
The sink, by id or by name, as list_sinks reports them. A name two sinks share is refused; use the id.
The member to upsert, on a sink whose subject is member. This writes a real record into a real CRM — one person, now — which is why the tool is admin and why there is a cooldown of a minute between tests.
The derived organisation to upsert, on a sink whose subject is organisation — by id, or by key (domain:acme.io). The sink’s own subject decides which of these two is read, so naming the wrong one for a sink is a NOT_FOUND rather than a record in somebody’s CRM about the wrong thing.
CLI flags
Event data.event_id; derives a retry key for 30 days
Optional retry key or workflow discriminator with --event-id (1–200 characters; 30 days)