Skip to content

sales_engagement_write

sales_engagement_write performs POST / PATCH / PUT requests against your own tenant’s connected sales engagement platform. It is a live write path and is deny-by-default — your tenant must be granted the tool explicitly. Confirm the exact records and change with the user first, and prefer the narrowest operation.

DELETE is not supported here.

Call get_tenant_settings, read settings.sep.type, and use that provider’s resource names and body shape — Outreach uses JSON:API ({"data": {"type": ...}}), the others differ.

ParameterTypeRequiredDescription
http_methodstringYesPOST, PATCH, or PUT.
relative_urlstringYesAPI path relative to the provider API root — never repeat the root.
json_bodyobjectNoRequest body.
paramsobjectNoQuery-string parameters.
ProviderAPI rootExample relative_url
Outreachapi/v2/prospects
Salesloftv2/people
Gongv2/flows
Reply.iov3/sequences, contacts

When the tenant has a connected CRM, creating a prospect in the SEP is refused unless a matching CRM upload has already minted a proof row — a completed crm_write with entity_type="prospect". SEP-only tenants (no CRM connected) pass straight through.

JSON with status (success / target_http_error), status_code, and content.

  • Reads are redirected to sales_engagement_read.
  • The structured SepTer endpoints (list cadences, enroll, …) already handle provider mapping internally — prefer them when they fit, and reach for a raw path only for what they don’t cover.