Updates the LeadManagement configuration with the given id. Caller must own the configuration. Each field is validated independently; defaultProcess (when supplied) must resolve to an existing Prompt ID.
Documentation Index
Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Internal identifier for the Lead Management config.
Human-friendly display name surfaced in the UI.
Free-form notes describing this lead routing setup.
Lead source label attached to contacts matched by this config (e.g. Facebook Lead Ad).
Inbox address that ingests external emails for this configuration.
Pipeline stage _id new leads enter when matched.
Prompt _id used to drive the AI on matched leads.
When true, the AI runs autonomously without rep approval on new leads.
When true, allow re-contacting leads already in the system.
First outbound message sent on lead match; supports placeholders.
Cost (USD) attributed to each lead; powers the outreach metrics dashboard.
x >= 0Whether this config is currently routing leads.
active, inactive Pipeline _id matched contacts are placed into.
Pipeline stage matched contacts are placed into.
When true, also creates an Application alongside the contact.
Display name for the auto-created application.
Initial status for the auto-created application.
Pipeline _id the auto-created application is placed into.
Pipeline stage the auto-created application enters.
When true, forwards leads to the outreach trigger pipeline.
When true, only execute matching workflows; skip the legacy autopilot path.
Configuration updated
{
"_id": "665f1a0c0e0a4b001a2c9f40",
"organizationId": "64ee9a8b1e7f2a0011223344",
"userId": "64ee9a8b1e7f2a0011223399",
"configurationName": "Facebook Lead Ad Funnel",
"name": "FB Lead Ad",
"description": "Routes Facebook Lead Ad submissions through the warm-up sequence.",
"source": "Facebook Lead Ad",
"inboundEmail": "leads+fb@inbound.example.com",
"initialStage": "New Lead",
"defaultProcess": "64eea1110000000000000001",
"isAutopilot": true,
"allowRecontact": false,
"starterMessage": "Hi {{firstName}}, thanks for your interest!",
"costPerLead": 12.5,
"status": "active",
"pipelineId": "64eea1110000000000000010",
"pipelineStage": "New Lead",
"createApplication": false,
"forwardToOutreach": true,
"useWorkflowOnly": false,
"createdAt": "2026-05-01T09:00:00.000Z",
"updatedAt": "2026-05-10T15:23:00.000Z"
}