web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Update source campaign for leads with most recent emails they received.

(0) ShareShare
ReportReport
Posted on by 230

Hi Community,

Is there a way to append the source campaign column for leads with campaign name of most recent emails they have received.
I want all the leads from marketing campaigns to have a source campaign.

So here's what we want to identify & Implement

1. Leads with source campaign columns as empty.
2. Look for the most recent email there parent contact has received
3. Append the campaign name columns of that email to source campaign of the respective leads.

appreciate your help...

Regards,
Hari

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Hari Narayan Singh,

    This could be achieved by Power Automate flow. Here are the steps you need to do:

    1. List all leads whose source campaign is empty.

    2.Loop these leads and list email messages which is regarding to the contact of lead(order by 'Modified On' Desc and limit one row).

    3. Create a row of  Campaign table with the email's subject in step2.

    4.Update the Lead and fill in the source campaign column with the Campaign in step3.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 168 Super User 2026 Season 1

#2
NeerajPawar Profile Picture

NeerajPawar 65

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans