Skip to main content
CRM writes go wrong when a record changes between the moment the agent resolves it and the moment the write lands: the account is reassigned, merged, or re-keyed. Check first, then write once.
Tool names depend on how your workspace connects to your CRM. Run invoke gateway tools to see the tools your workspace has.

Check, then write

POST /state/verify compares what the agent assumed with what is true now. Act only when it says verified:
The write is named, so a retry or a re-run resolves with status: "duplicate" instead of writing again.

What drift looks like

contact_id drifted from c_123 to c_999, so the answer is "status": "replan_required", and it lists the mismatched field. The agent doesn’t write.

Next steps