closeBot.searchLeads searches conversations using CloseBot’s full lead-search endpoint.
automations/search-closebot-leads.automation.ts
Inputs
ProvidesourceIds, botIds, personaIds, and channels; use empty arrays when a dimension is unrestricted. Optional filters cover text, offset/count, response count, last-message direction, scheduled follow-ups, starred leads, and mentions.