Tailflow
Skip to article
Browse documentation

Salesforce · Action

Add lead to campaign

Makes the lead a member of the campaign you choose, so it is counted in the campaign's results.

When to use it

Attributing onchain activity to a campaign: every wallet that minted during a launch joins the launch campaign.

At a glance

IntegrationSalesforce
Credits1
ConnectionSalesforce, by signing in

Settings

campaignRequired
Campaign. Picked from your account's own list, or typed.
leadRequiredAccepts event fields
Lead ID. The lead's id, usually from a Create lead or Find record step above.
statusOptionalAccepts event fields
Member status. One of the campaign's member statuses. Left blank, the campaign's default is used.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.salesforce_add_lead_to_campaign_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The campaign member's id.
object
Always CampaignMember.

Good to know

  • A lead that is already a member of the campaign fails the step with Salesforce's message. The flow keeps running.
  • The list shows your active campaigns. Another campaign's id can be typed in.
  • The member status has to be one of the statuses the campaign offers.
  • Campaigns are part of Salesforce's marketing features. An org or user without them cannot choose a campaign.