record_outreach_with_inquiry
Reserve an outreach log entry for form or social DM, get compliance footer appended and inquiry URL. Returns outreachLogId and status for pre-send or pending review.
Instructions
Reserve an outreach log row for a form / SNS DM / platform channel before submission. Returns outreachLogId, status ("pre_send" in send mode, "pending_review" in draft mode), inquiryUrl, and finalBody — the body with the compliance footer (legal identity + opt-out line, plus an inquiry-landing URL line when inquiryLandingEnabled) appended; channel "platform" gets no footer (solicited in-platform message). The "pre_send" row must be resolved by update_outreach_status ("sent" / "failed"); a "pending_review" row needs no follow-up call. For email use send_email_and_record instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| channel | Yes | ||
| subject | No | ||
| projectId | Yes | Project name or ID | |
| variantId | No | Message variant id from pick_message_variant. | |
| prospectId | Yes |