record_outreach
Record outreach attempts with statuses to update prospect contact state, exclude from future targeting, or flag for review.
Instructions
Record an outreach log entry. status="sent" flips the prospect to "contacted" and stamps next_outreach_after = sentAt + noResponseRecycleDays so it recycles back into get_outbound_targets only after that window; status="failed" stamps the same window without marking the prospect contacted so it drops out of get_outbound_targets for it; status="pending_review" leaves the prospect unchanged but excludes it from get_outbound_targets while the draft is open. For form / SNS DM submissions, prefer record_outreach_with_inquiry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| status | No | "sent" = delivered; "failed" = send error; "pending_review" = draft created. | sent |
| channel | Yes | ||
| subject | No | ||
| projectId | Yes | Project name or ID | |
| variantId | No | Message variant id from pick_message_variant. | |
| prospectId | Yes | ||
| errorMessage | No | Required when status="failed"; rejected when status="sent" or "pending_review". |