Automation Champion

Automating Salesforce One Click at a Time
Automation Champion
  • Home
  • About Me
    • Testimonials
    • Resources
  • Process Builder
  • Salesforce Flow
  • Pardot
  • Apex
  • Training Details
    • Salesforce Administrator
    • Salesforce Advanced Administrator
    • Platform App Builder
    • Lightning Flow
    • Pardot
    • Sales Cloud
    • Service Cloud
    • Community Cloud
    • Hands-on Excercises
  • My Books
  • Contact Me
  • Tag: Chatter profile photo reminder email

    • Getting Started with Salesforce Flow – Part 30 (Reminder Email to Upload Chatter Profile Photo)

      Posted at 10:04 PM by Rakesh Gupta, on December 1, 2020

      Big Idea or Enduring Question:

      How do you automatically send reminder emails to your users to upload a profile photo on Chatter? 

      Chatter is a powerful Collaboration tool for your organization, for both internal users and partners. Each user has a visible profile page containing his Chatter wall as well as information about the user, including an Image. The first thing to do in Chatter is uploading a profile picture to help your colleagues put a face to a name. In Salesforce I have never found Out of a box solution to send a reminder email to users to upload Chatter profile photos. In this article, we will develop an app by using Flow.

      Objectives:

      After reading this blog post, the reader will be able to:

      • Use Schedule-Triggered Flow to find a list of users who doesn’t have a picture uploaded on Chatter 
      • Use Schedule-Triggered Flow to automatically send a reminder email to users
      • Use Schedule-Triggered Flow to run a job that executes every Monday morning at 8:00 am. 

      Business Use case

      Pamela Kline is working as a System administrator at Universal Containers (UC). She has received a requirement from the management to send out a reminder email once a week every Monday at 08:00 am to users who don’t have a Chatter profile photo.

      Automation Champion Approach (I-do):

      There are a few possible solutions for the above business scenario. We will use Schedule-Triggered Flow to solve the requirement. Before we unwrap, let us understand what Schedule-Triggered Flow is. Scheduled Flows are not triggered by an Event on the data; they simply run when a scheduled time arrives. Scheduled Flows run as follows:

      • Once (On a particular date and time)
      • Daily (On a particular date and time)
      • Weekly (On a particular date and time)

      Remember, when a Flow starts, a Flow interview runs for each record that matches the filter criteria – no looping is required. The matching record is stored in the $Record global variable, so you can reference the variable, or its fields, throughout your flow.

      Before proceeding ahead, you have to understand the User object. It Represents a Chatter user profile.

      Field Name Details
      FullPhotoUrl It represents the URL for the user’s profile photo. This field is available even if Chatter is disabled. The URL is updated every time a photo is uploaded and reflects the most recent photo. 

      Now you might be wondering how you can find the list of users from FullPhotoUrl. To understand it better, let’s take a look at the SOQL query in the following screenshot: 

      1. URL ends with profilephoto/005 – It means a user doesn’t have a profile picture
      2. URL ends with some record id (profilephoto/729B0000000Q6RV) – It means a user already uploaded the profile picture.  

      Before discussing the solution, let me show you a diagram of a Process Flow at a high level. Please spend a few minutes to go through the following Flow diagram and understand it. Let’s begin building this automation process.

      Guided Practice (We-do):

      There are 3 steps to solve Pamela’s business requirement using Flow. We must: Read the rest of this entry!

      Posted in Chatter, Salesforce Flow, Schedule-Triggered Flow | 4 Comments | Tagged Advance flow, Chatter profile photo, Chatter profile photo email, Chatter profile photo reminder email, Chatter Topic, Chatter topics, email notification, Email notification for CHatter profile photo, Email to upload Chatter profile photo, flow, Flow builder, flow builder in salesforce, flow builders, Flow Designer, Flow exmple, FlowRockstar, Lightning Flow, lightning flows in salesforce, Loop Logic, Record Create, Record Lookup, Reminder email to upload Chatter profile Image, Reminder email to upload Chatter profile photo, Reminder to upload Chatter profile photo, sales force automation software, salesforce automation, salesforce automation tools, Salesforce Floe Example, Salesforce Flow, salesforce flows, salesforce lightning flow, salesforce lightning flow examples, Send email to upload Chatter profile photo, sfdc Dev 401 exam, Slaesforce sales cloud consultant exam, Sobject Collection, Trigger ready flow, Upload Chatter profile photo, Weekly email to upload Chatter profile photo
    • Search

    • Upcoming Trainings

      Salesforce Administrator Certification
      Salesforce Advanced Administrator Certification
      Salesforce Platform App Builder Certification
      Lightning Flow & Process Builder
      Advanced Lightning Flow
      Pardot Specialist & Consultant Certification
      Sales Cloud Consultant Certification
      Service Cloud Consultant Certification
      Community Cloud Consultant Certification
    • Sponsor #1

    • Sponsor #2

    • Sponsor #3

    • Sponsor #4

    • Order Now!

    • Buy My Book

    • Buy My Book

    • Recent Posts

      • Getting Started with Salesforce Flow – Part 58 (Customize Previous, Next, Finish, and Pause Button Label for Screen Flow!)
      • Streamline Data Collection with Salesforce-Connected Forms
      • Getting Started with Salesforce Flow – Part 56 (Merge Chatter Topics with the Help of Salesforce Flow)
      • Getting Started with Salesforce Flow – Part 57 (Adding Validation to Flow Screen Components)
      • Getting Started with Salesforce Flow – Part 55 (Add or Remove Followers to a Record with the Help of Salesforce Flow)
    • Salesforce ID Converter Build on Lightning Flow

      Converting 15 digit ID to 18 digit Salesforce ID
    • Blog Archives

    • Categories

  • Information

    • About Me
    • Affiliate Disclaimer
    • Contact Me
    • Privacy Policy
  • Top Posts

    • Learning Flow
    • Getting Started with Salesforce Flow – Part 42 (Running a Flow in System Mode)
    • Salesforce Spring’21 Release Quick Summary
    • Learning Process Builder
    • Getting Started with Salesforce Flow – Part 58 (Customize Previous, Next, Finish, and Pause Button Label for Screen Flow!)
    • Getting Started with Salesforce Flow – Part 24 (Automatically Assign Permission Sets to New User)
    • Add Record to Multiple Chatter Groups - Parsing Multi-Select Picklist fields (Flow)
    • Getting Started with Salesforce Flow – Part 11 (Count Number of records in a Record Collection Variable)
    • Getting Started with Salesforce Flow – Part 57 (Adding Validation to Flow Screen Components)
    • Getting Started with Salesforce Flow – Part 33 (Prior Value of a Record in Record-Triggered Flows)
  • Social Media

    • View Automationchampion’s profile on Facebook
    • View Automationchamp’s profile on Twitter
    • View Rakeshistom’s profile on GitHub