For example, If the Lead status is equal to Working – Contacted or MQL and the Campaign Member status is equal to Filled out form, we then need to update the campaign member status to Qualified.
Here we are going to see how can we update the status field on campaign members if certain criteria are met on the related lead record.
This article explains how to build two Record-Triggered Flows that update Campaign Member status to Qualified based on the related Lead's status: one flow on the Campaign Member object and one on the Lead object.
To build out this automation, we would need to create two Record-Triggered flows, one on the campaign member and the other on the lead. Let's take a look at each of those flows one by one.
We need to create a Record-Triggered before saving flow (On Update) on the Campaign Member object which would check the triggering Campaign Member status and verify whether the related lead record meets the conditions. If all the conditions are satisfied, we would update the triggering record status to Qualified.
Here is how the first flow will look like
We need to create an after-save flow (On Update) on the Lead object, which would first check the conditions on the triggering lead record and, if satisfied, update all the related campaign member records (where Status is filled out Form)
Here is how the second flow looks like
_____________________________________________________________________________________
Written by: Sumeet Negi | Salesforce Answers Leader
Sumeet Negi is a Salesforce Developer at Eptura and one of the top Answers Leader in the Trailblazer Community. He is 4x Salesforce certified and has more than 3.5 years of experience on the Salesforce platform. He is passionate about helping trailblazers get the most out of Trailblazer Community.
Submissions reflect only the opinions of the user who made available the Submission and not the opinions of Salesforce, regardless of whether the user is affiliated with Salesforce, and may contain or constitute products, services, information, data, content and other materials made available by or on behalf of third parties ("Third Party Materials). Salesforce neither controls nor endorses, nor is Salesforce responsible for, any Third Party Materials, including their accuracy, validity, timeliness, completeness, reliability, integrity, quality, legality, usefulness or safety, or any applicable intellectual property rights. Any Submissions made available through any message board or forum in response to posted questions, or that otherwise purports to answer any questions, including any questions about Salesforce or Programs, are made available for your general knowledge only and should never be relied upon as answers to your specific questions (even if an answer is marked as a "best" answer or with any similar qualifications). You should always contact Salesforce support for answers to your specific questions. Salesforce has no control over Submissions, and is not responsible for any use or misuse (including any distribution) by any third party of Submissions.
If you have questions, tap into the wisdom of our entire Trailblazer Community here: https://trailhead.salesforce.com/trailblazer-community/feed
000394583

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.