ToolsSequences

Search company in sequences

Find companies by name/domain and see which of their people are in any sequence.

Tool: search_company_in_sequences

Optionally mark the (single) match as customer or do-not-contact - do-not-contact cascades to the company's people and stops their active enrollments.

Parameters

ParamTypeRequiredDescription
namestringnoFull or partial company name. At least one of name / domain is required. Alias: company_name.
domainstringnoCompany domain (partial ok; www. is stripped).
statusstringnoEnrollment status filter (same values as person search).
limitintegernoMax companies returned. Default: 25.
qualification_statusstringnoFilter companies: new | qualified | disqualified | customer.
do_not_contactbooleannoFilter companies by the do-not-contact flag.
sequence_idstring (slug or UUID)noOnly enrollments in this sequence.
lead_group_idstring (slug or UUID)noOnly companies in this lead group.
mark_asstringnocustomer | do_not_contact. Applied only when exactly one company matches. customer sets qualification_status (and warns about still-running enrollments); do_not_contact also flags all the company's people and stops their active enrollments.

Searches across all sequences - each matched company lists its people with enrollments (people_in_sequences).

Sample request — success

{
  "name": "acme"
}

Sample request — mark customer

{
  "name": "globex",
  "mark_as": "customer"
}

Sample request — mark do not contact

{
  "name": "initech",
  "mark_as": "do_not_contact"
}

Sample request — filter customer

{
  "qualification_status": "customer"
}

On this page