Skip to contents

Sends internal notification to admins when high-value lead requests access to metrics documentation. This allows for manual review workflow.

Usage

send_metrics_admin(req_details, admin_email = NULL)

Arguments

req_details

Named list containing: email, full_name, company, job_title, role, primary_interest, message, req_id

admin_email

Email address of admin to notify (defaults to bobby@artalytics.app)

Value

List with success status and details

Examples

if (FALSE) { # \dontrun{
result <- send_metrics_admin(
  req_details = list(
    email = "analyst@bank.com",
    full_name = "Jane Doe",
    company = "Major Bank",
    job_title = "Senior Credit Analyst",
    role = "art_lender",
    primary_interest = c("lending", "insurance"),
    message = "Evaluating art lending portfolio...",
    req_id = "123e4567-e89b-12d3-a456-426614174000"
  ),
  admin_email = "bobby@artalytics.app"
)
} # }