MailMoo
ToolsLeads

mailmoo_leads_set_fields

Set a different column value on each lead

Writes campaign columns from a list of rows, each with its own values, matched on leadId. Use this when a sheet has a different message per lead. It does not create leads and does not move their sequence. Null or an empty string clears a cell. Line breaks are kept. Without confirm it changes nothing and returns how many cells would change. One campaign.

Effect: Write. See Effects.

Permissions: Read campaigns, Write campaigns.

Parameters

ParameterTypeRequiredDescription
campaignstringYesThe campaign, by name or id.
rowsarray of objectYesOne row per lead. At most 1000.
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