MailMoo
ToolsLeads

mailmoo_leads_set_in_progress

Put completed leads back in progress

Queues completed leads again on a step: last_step (the step they finished on), previous_step (the one before that), first_message (the first message in the sequence), or step with stepId. People who already have a message with their sender stay completed unless skipIfMessaged is false. Executed history stays. The sequence's on/off switch is not changed, so a paused campaign still does not send. Without confirm it changes nothing and returns how many would move, how many stay because they were messaged, and which step they would land on.

Effect: Write. See Effects.

Permissions: Read campaigns, Write campaigns.

Parameters

ParameterTypeRequiredDescription
placeOnlast_step, previous_step, first_message, stepYeslast_step: the step they finished on. previous_step: the step before that. first_message: the first message step. step: the stepId you pass.
stepIdstringNoRequired when placeOn is step. One campaign only.
skipIfMessagedbooleanNoDefault true: leave completed anyone who already has a message with their sender, or whose sequence stopped because they replied.
campaignstringNoLimit the selection to this campaign, by name or id.
leadIdsarray of stringNoExactly these leads. Overrides the filters.
querystringNoSearch box text: name, email, company, or profile URL.
companystringNoOnly leads whose company name contains this text.
companiesarray of stringNoLeads at any of these companies, by name (contains). Each name counts toward the filter limit. Use instead of company.
columnEqualsarray of objectNoOnly leads whose campaign column holds this value, e.g. [{ column: 'Interested', value: 'true' }]. Needs campaign. Column names from campaign_get_context.
jobTitlestringNoOnly leads whose job title contains this text.
industrystringNoOnly leads whose industry contains this text.
sequenceStatusIN_PROGRESS, COMPLETED, PAUSED, FAILEDNoOnly leads whose sequence is in this state: IN_PROGRESS, COMPLETED, PAUSED, or FAILED.
pipelineStagestringNoOnly leads in this pipeline stage: a category such as IN_CONVERSATION, or a stage name.
excludePipelineStagestringNoLeave out leads in this pipeline stage, e.g. MEETING_BOOKED to skip anyone who already booked.
connectionAcceptedbooleanNotrue: only leads who accepted the connection request. false: only leads who did not. For pending, not accepted or never requested, use connection.
connectionaccepted, pending, declined, never_requestedNoWhere the connection request stands with the lead's sender. accepted: connected. pending: sent, still waiting. declined: sent, and the wait for acceptance ran out without a connection (ignored requests count too). never_requested: no request sent yet. Use instead of connectionAccepted, not with it.
confirmbooleanNoLeave out first: the call then changes nothing and returns what would happen. Show that to the user, and call again with confirm: true once they agree.

On this page