Skip to main content

Questions tagged [campaign-member]

CampaignMember represents the association between a campaign and either a lead or a contact.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
38 views

Need help regarding record trigger flow

I am trying to update the status of lead record based on the status of campaign member record using a record trigger flow, it should work for multiple records. can you tell me if it is required to ...
Praneeth's user avatar
0 votes
0 answers
20 views

Setting a custom field with value of LeadOrContactOwnerId isn't working in before update trigger but working fine in after update trigger

I am trying to set a custom field (FCRM__FCR_First_Owner_Worked__c) on CampaignMember equals to LeadOrContactOwnerId in certain situations. I tried it using before flow on Campaign Members but I am ...
tycoon's user avatar
  • 3
2 votes
1 answer
72 views

How to delete orphaned Campaign Members

I have a Web-to-Lead form which adds Leads to a Campaign. I had a lot of problems with hackers entering nonsense data through the form so I implemented a Flow which aimed to catch these and delete the ...
Andy Bravery's user avatar
0 votes
0 answers
62 views

Is it ok to import campaign members to a parent campaign?

Currently, we have a hierarchy with parent and child campaigns. Right now, all campaign members are housed in child campaigns. I have a campaign that isn't relevant to any existing parent campaigns, ...
svd582's user avatar
  • 1
0 votes
0 answers
20 views

Help selecting fields in flow - Primary Campaign on Opportunity Record

I have been unsuccessful recreating a flow that populates the primary campaign source on the opportunity record before save. I followed step by step instructions however I can not correctly identify ...
Andi's user avatar
  • 21
0 votes
1 answer
50 views

Created trigger on Campaign Member, error when adding lead to campaign

I created a trigger to add the recent campaign to the contact record. An error now occurs when adding a lead to a record. Error when adding lead to campaign: UpdateContact: execution of BeforeInsert ...
Andi's user avatar
  • 21
0 votes
1 answer
70 views

How can i show the Campaign Name on a Lead field

So I've been trying to use a trigger. But it's not working. Ive created thid method that gets called in afterInsert and afterUpdate. So I'm testing it by adding a lead on Campaign Member and nothing ...
Testing1002's user avatar
0 votes
0 answers
65 views

Person Account creation AND Campaign Member activity in journey

enter image description hereIn SFMC, I have created a DE and CloudPage with Smart Capture form, to collect email address and some other fields. This CloudPage is the entry/trigger for a journey. What ...
nazeli's user avatar
  • 1
0 votes
1 answer
84 views

Querying CampaignMembers based on Lead fields

New to Apex and code in general so I would appreciate any recommendation on how I´m approaching this problem. My Lead Object has a custom field utm_content__c that will hold as value the Id of the ...
Sebastian C's user avatar
0 votes
1 answer
526 views

How does the CampaignMember object work in terms of record visibility?

I am trying to understand how the CampaignMember object behaves in terms of security. According to the Salesforce documentation, in order for a user to view a CampaignMember record the user must have ...
Tzinm's user avatar
  • 31
0 votes
0 answers
1k views

Update lead/contact fields from Campaign Member triggered flow

I am creating a flow to update 2 fields on both lead/contact objects when a campaign member is added/updated. The 2 fields are "oldest campaign" and "newest campaign". I created 2 ...
Daniil Nguyen's user avatar
2 votes
0 answers
363 views

When merging two contacts in the same campaign with different campaign statuses, which status "wins"?

When two or more contacts belong to the same campaign and are merged in Salesforce, which campaign status is kept? For instance, contact A is in email subscription 1 with a status of "Subscribed,&...
Amelia Garber's user avatar
0 votes
2 answers
2k views

Campaign related list on Account only shows values for campaigns where a contact is a CampaignMember

I am running into an issue when displaying the Campaigns related list on an account page. If I add a Account as a campaign member (i.e. Type field on the CampaignMember record = "Account"), ...
markwilland's user avatar
1 vote
1 answer
992 views

How to automatically delete Campaign Members using a flow

So, I am developing a record triggered flow that will create or delete campaign members depending on the status of 5 custom checkboxes in the Lead object, so, when the checkboxes are ticked or ...
David Boada's user avatar
0 votes
0 answers
813 views

How to merge campaign / campaign member fields into email template?

I have Campaigns and Campaign Members created with an Eventbrite integration. I need an email sequence to go out via flow or manually with the Send List Email to the campaign members. The merge fields ...
Laura's user avatar
  • 23
0 votes
1 answer
71 views

Tagging Lead with most recent pre-mql campaign (help with trigger)

I need some assistance, and greatly appreciate any help I can receive. I am trying to tag a lead with its most recent pre-mql campaign. The code I have does in fact work on insertion of a campaign ...
AS5900's user avatar
  • 13
0 votes
1 answer
612 views

Set Campaign Member custom field in Pardot

I have a requirement to set a custom field while creating a Campaign Member from a Pardot form using "Add to Campaign". Currently the only field that can be set is the standard status field. ...
DebaSen's user avatar
  • 69
0 votes
1 answer
433 views

Change campaign of created Campaign members

I have a workflow that create a lead and a linked campaign members into a campaign . The fact is this flow come from a package i can't change it (lead capture). I want after the creation change the ...
Acher Klein's user avatar
0 votes
2 answers
569 views

Why do I NOT get an Owner.IsActive field when I Query Lead in my trigger (When Testing)?

In short: my Test Setup Method Creates Accounts/Contacts/Leads/Campaign/etc I connect all of this data in my Test Setup method. I update the data in my Test Method. I query the Contacts and Leads, ...
TheArchitecta's user avatar
0 votes
1 answer
3k views

NavigationMixin for standard_recordrelationshipPage using a listview developername

Question: is there a way to use a developer name of listview in a standard_recordrelationshipPage? In Account object I created a custom single related list in LWC called Active Campaign Related List. ...
sFDev_newbie's user avatar
0 votes
0 answers
429 views

Facing issues in bulk update via data loader

I am trying to update the records in campaign member via data loader. It keeps throwing me this error INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on object id Like this I have 1 lakh ...
abhi saxena's user avatar
0 votes
0 answers
22 views

Campaign CTI Automation

I wanted to know if there is any support for automation of calls in salesforce. Basically, I want to automate campaigns such that we can dial calls to leads/contacts one by one (in order for all ...
Badar's user avatar
  • 45
0 votes
1 answer
485 views

Salesforce Entry Event Campaign Does Not Pull in Contacts on Activation

When selecting a campaign from a salesforce data entry event in Journey Builder it states "Select campaigns to add members to the Journey. Only members added to these campaigns after activation ...
4kAudio's user avatar
  • 75
0 votes
1 answer
732 views

Journey Builder Salesforce Data Source Campaigns not showing all Campaigns in Marketing Cloud

When I use Salesforce Data as an entry source in Marketing Cloud I'm not seeing all the Campaigns that are active on the CRM side. There are some that I am seeing but a vast majority are not showing ...
4kAudio's user avatar
  • 75
1 vote
1 answer
60 views

Mass edit a Campaign Member Blocktable

My team is using campaigns extensively for a handful of different recordtypes and a lot of time is wasted by having to click into each campaign members records to update information. I set out as an ...
Jared's user avatar
  • 11
0 votes
1 answer
520 views

Salesforce Flow limitations

I have a flow where i want when the "Campaign Status" changes, to create new Campaign Member Status records and also update the Status of each Campaign Member. Some Campaigns have 80.000 ...
Giorgos Galaios's user avatar
1 vote
1 answer
1k views

Python Simple Salesforce - Upsert to CampaignMembers Object

I am trying to find an automated way to add contacts & leads to existing campaigns by using simple salesforce to upsert records to the CampaignMembers object. I have a CSV file with CampaignId and ...
codr's user avatar
  • 23
0 votes
2 answers
189 views

Remove contacts from campaign using an apex class

I'm having an issue trying to get contacts removed from a campaign. I think it may be because I'm looking for campaign members instead of contacts, but I'm not entirely sure. I have the class set to ...
kai998's user avatar
  • 69
1 vote
2 answers
473 views

Lead ListView SOQL query with CampaignMember.Status fails through REST API

I'm trying to retrieve results from a Lead List View SOQL query via the REST API and found that the API always fails when the List View includes references to CampaignMember.Status. Based on the ...
Garret Meier's user avatar
0 votes
0 answers
49 views

process builder not running to create campaign member

I want to create Process builder which will create campaign member when contact is created and below conditions met Region = EMea Account Type = Partner Partner Category = Distributor Business Unit =...
Shivani Tanwar's user avatar
0 votes
0 answers
1k views

Campaign members auto-added to the campaign?

If I create a SFDC campaign and add members using a sfdc report (report type is "Contacts & Accounts") today. Will the members to this campaign automatically get added based on the sfdc ...
NikM's user avatar
  • 23
0 votes
1 answer
637 views

Apex Code for Campaign Member List

I've been struggling with creating code (I am not a developer) for a VP where all Campaign Members with certain fields completed (CampaignMember.Article_Link__c) are displayed in a table. The goal is ...
ABFoC's user avatar
  • 3
1 vote
0 answers
267 views

Using Journey Builder to update campaign member for both leads and contacts

We have a journey which both contacts and leads are injected into it. We would like to add both of those to a SF campaign without using using multiple decision splits and update campaign member ...
Barak's user avatar
  • 143
0 votes
1 answer
201 views

Campaigns with Subscriptions as "Campaign Members"

In our org we use Person Accounts, and they can be added as Campaign Members. We also use CPQ and keep tracking of customers' subscriptions. We have also added two Custom Fields "Subscription&...
Giorgos Galaios's user avatar
0 votes
1 answer
686 views

Campaign Member Status VS Campaign Member Activity

what is the difference between Campaign Member Status and Campaign Member Activity fields? They seem quite the same and i cannot understand their difference. Campaign Member status indicates the ...
Giorgos Galaios's user avatar
1 vote
1 answer
197 views

Import new contacts and campaign members together

I have a CSV file that includes contact's first name, last name, and email address. The file also includes campaign names. These contacts do not exist in the Salesforce. Is it possible to add these ...
Hari Ha's user avatar
  • 127
0 votes
0 answers
251 views

CloudPage: CampaignMember creation not working

I have a CloudPage that contains a simple form. I ask for an email address, and upon submit, the page first checks in Salesforce if a (Person)Account exists. If not, it creates one, if so, then it ...
Michel Hendriks's user avatar
0 votes
1 answer
45 views

How can I stop using Data Loader to assign owners to Campaign Members?

Salesforce Enterprise Classic I have an outbound team of 10 individuals. We are calling contacts and leads for various reasons. Our Marketing Automation Platform populates Salesforce Campaigns with ...
James's user avatar
  • 21
0 votes
1 answer
21 views

Problem with IN Clause in soql

Hi everyone I'm having a problem with a query over campaignmember object, Im trying to use In clause to filter by id , but it retrieves nothing, crazy thing is that the list actually has an id, and it ...
Dead_end_Developer's user avatar
1 vote
1 answer
709 views

How to determine when someone has been removed from a campaign (REST API)

Similar to this question, I'd like to be able to fire off a query (from an external application) to determine when someone is removed from a Salesforce Campaign. The question I linked has a good ...
bearoplane's user avatar
0 votes
1 answer
629 views

How to find the Created Date of the Campaign Member associated to the Contact on an Opportunity

I am trying to find the Campaign Member Created Date based on the Contact Id and Campaign Id on an Opportunity record. I am newer to apex and struggling to find the record based on the combination of ...
Jeff's user avatar
  • 5
0 votes
1 answer
1k views

Does Marketing Cloud know to connect between Campaign Members and their associated Contacts or are these duplicates?

Please consider the two scenarios below: Scenario 1 Using SQL, we're filtering Campaign Members based on some criteria to create a Sendable DE. Which is the correct relationship to use to ...
LimeWeb's user avatar
  • 358
1 vote
0 answers
138 views

Visualforce field value keeps changing after save

I'm having an issue with my visualforce page updating values if after saving even if I don't update that value on the save instance. I think it may be that I have my Save method written incorrectly? ...
user3646059's user avatar
0 votes
1 answer
1k views

Campaign Member on Contact Related list

how can I add "Campaign Member" to the Related list on the Contact object? The Campaign Member has a lookup relationship to Contact and it seems to be fine. The only object where can I show Campain ...
Michal Targiel's user avatar
0 votes
1 answer
257 views

Setting up cross object loop and update records

I am trying to set up a trigger that will run a SOQL query to find all Campaign Member records that are associated to a Lead record only. Once I have that list I would like to run a loop through the ...
Jeff's user avatar
  • 5
2 votes
0 answers
111 views

How to choose which columns show when adding Contacts as Campaign Members?

Title says it all: How to choose which columns show when adding Contacts as Campaign Members?
Shumon Saha's user avatar
  • 4,642
0 votes
1 answer
483 views

Campaign Member Trigger to reference related Lead level field values [duplicate]

I am trying to write values to the Campaign Member fields based on values from the related Lead record. When I attempt to run this I get the error message: addCampaignMemberValues: execution of ...
Jeff's user avatar
  • 5
0 votes
1 answer
193 views

Updating CampaignMember Record via RESTful web service

Also new at APEX and this is my first crack at it. I want to update some fields on the CampaignMember object when I catch a Webhook on a force.com site. I have the Webhook working, however I am having ...
Mktg_ops's user avatar
1 vote
1 answer
1k views

Cross reference error when trying to add campaign member

I am trying to manually add a contact as a campaign member to a campaign and am getting a cross-reference error. When I try this in Classic, I receive the error graphic I am posting in this post. It ...
Michele Kleinhomer's user avatar
1 vote
1 answer
3k views

ui.services.connection.api.PartnerConnectionException: INVALID_FIELD: salesforce

I gave permissions on Campaign to some profile - Read, Create, Edit And on OWD I gave to the Campaign member - Controlled by Campaign. When I entered Campaigns from a user in that profile- I see ...
Salvation's user avatar
  • 1,199