Skip to content

Lead programs: nurture, qualify

The Lead Verbs nurture, qualify as MCP do programs, with inputs, result, refusals and an example.

Reference for Lead, one group of Lead programs.

Lead.nurture

Nurture takes a Lead that is not ready to buy off its owner’s queue and onto a Sequence, until it raises a hand again. Verb page.

Text
do: return await $.Lead.nurture(input)

Emits Lead.nurtured.

Inputs

InputTypeRequiredDescription
leadLeadrequiredThe Lead to nurture.
sequenceSequenceThe Sequence to enroll it in.

Returns

OutputTypeRequiredDescription
leadLeadrequiredThe Lead, now in nurture.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Lead.nurture({ lead: 'lead_Kz1R9fhqzZ' })"
  }
}

Lead.qualify

Qualify confirms a Lead matches an Offer’s ICP and opens a Deal for it. Verb page.

Text
do: return await $.Lead.qualify(input)

Emits Lead.qualified.

Inputs

InputTypeRequiredDescription
leadLeadrequiredThe Lead to qualify.
offerOfferrequiredThe Offer whose ICP the Lead matches.

Returns

OutputTypeRequiredDescription
dealDealrequiredThe open Deal.
leadLeadrequiredThe Lead, now qualified.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.
The record is not in a state that allows this Verb, so the call is refused.refusedRead the record, run the Verb that moves it to an allowed state, then retry.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Lead.qualify({ lead: 'lead_Kz1R9fhqzZ', offer: 'offer_2hzYe1ERo0' })"
  }
}