Skip to content

copycode69/a-crm-application-to-manage-the-services-offered-by-an-institution

Repository files navigation

A.CRM.Application.mp4

Create Objects from Spreadsheet

  1. Create Objects from Spreadsheet
    a. Create Course Object:
  2. Go to Object Manager in Salesforce.
  3. Click on Create Object from Spreadsheet.
  4. Follow the link to download the spreadsheet named Course.
  5. Upload the spreadsheet file.
  6. Map the fields from the spreadsheet to Salesforce fields.
  7. Complete the process to create the Course object. b. Create Remaining Objects:
  8. Repeat the steps used for creating the Course object.
  9. Use the respective spreadsheets to create the following objects:  Consultant  Student  Appointment
  10. Create Relationships among the Objects
    a. Lookup Relationship for Appointment:
  11. Go to Object Manager and select the Appointment object.
  12. Create a Lookup Relationship between Appointment and Student.
  13. Create another Lookup Relationship between Appointment and Consultant. b. Create Registration Object:
  14. In Object Manager, create a new object named Registration.
  15. Add necessary fields to store information regarding Student and Course details.
  16. Create a Lookup Relationship between Registration and Student. c. Additional Lookup Relationship:
  17. Go to the Object Manager and select the Case object.
  18. Create a Lookup Relationship between Case and Student to store student queries related to immigration or visa application.
  19. Configure the Case Object
  20. In Object Manager, select the Case object.
  21. Edit the Type field:  Add the values Immigration and Visa Application.
  22. Edit the Status field:  Add the values Open and In-progress.
  23. Create a Lightning App
  24. Go to Setup in Salesforce.
  25. Search for App Manager in the Quick Find box.
  26. Click on New Lightning App.
  27. Enter the app name as EduConsultPro.
  28. Click Next through the setup screens.
  29. From Available Items, select and move Home, Students, Courses, Consultants, Appointments, Registrations, and Cases to Selected Items.
  30. From Available Profiles, select System Administrator and move it to Selected Profiles.
  31. Click Save & Finish.

Create a ScreenFlow for Student Admission Application process.

  1. Set Up the ScreenFlow
  2. Go to Setup in Salesforce.
  3. In the Quick Find box, type Flow Builder and select Flow Builder.
  4. Click on New Flow and select Screen Flow.
  5. Click Create.
  6. Add Screen Element - Student Info
  7. Drag and drop a Screen element onto the canvas.
  8. In the Screen Properties pane, label it Student Info.
  9. Click on Fields, then click on the record variable input to create a new resource.  Resource Name: StudentRecordRes  Type: Record  Object: Student
  10. Drag the required fields from the Student object onto the screen to collect student information.
  11. Click Done.
  12. Create Student Record
  13. Drag a Create Records element onto the canvas, after the Student Info screen.
  14. Label it Create Student Record.
  15. Select Create One Record under How Many Records to Create.
  16. Choose Use all values from a record under How to Set the Record Fields.
  17. For Record Variable, select StudentRecordRes (created in the Student Info screen).
  18. Click Done.
  19. Add Screen Element - Course Selection
  20. Drag another Screen element onto the canvas, after the Create Student Record element.
  21. Label it Course Screen.
  22. Add a Picklist component from the left panel.  Label: Select Course  Choices: IELTS, GRE, GMAT, Duolingo, TOEFL (each will create a corresponding variable).
  23. Click Done.
  24. Add Decision Element - Selecting Course
  25. Drag a Decision element onto the canvas, after the Course Screen.
  26. Label it Selecting Course.
  27. Under Outcomes, label the first outcome as Selected IELTS and set the condition:  Resource: Select_Course  Operator: Equals  Value: IELTS
  28. Repeat the above steps to create outcomes for GRE, GMAT, Duolingo, and TOEFL.
  29. Click Done.
  30. Add Get Record Element - For Each Course
  31. Drag a Get Records element onto the canvas, under the IELTS path of the Decision element.
  32. Label it Get IELTS Rec.
  33. Object: Course
  34. Condition Requirements: All Conditions are Met (AND)  Field: Course Name  Operator: Equals  Value: Select_Course
  35. Click Done.
  36. Repeat the steps for the other course paths (GRE, GMAT, Duolingo, TOEFL).
  37. Create Registration Record
  38. Drag a Create Records element onto the canvas, after each Get Records element.
  39. Label the element as Create [Course] Registration Rec (e.g., Create IELTS Registration Rec).
  40. Select Create One Record under How Many Records to Create.
  41. Choose Use separate resources, and literal values under How to Set the Record Fields.
  42. Object: Registration
  43. Field: Course_Name__c Value: Get_IELTS_Rec.Id
  44. Field: Student_Name__cValue: StudentRecordRes.Id
  45. Click Done.
  46. Repeat the steps for other courses (GRE, GMAT, Duolingo, TOEFL).
  47. Create Email Text Template Variables
  48. Click the Toggle Toolbox on the left corner, then click New Resource.
  49. Select Text Template as the Resource Type.  API Name: StuRegistrationEmailTextTempBody  View as plain text: Checked  Body Text:  vbnet  Copy code  Dear {!StudentRecordRes.Name},

Congratulations and welcome to EduConsultantPro!

We are delighted to inform you that your registration on our platform has been successfully completed. You are now part of our esteemed community dedicated to empowering students like you to achieve their educational and immigration aspirations.

(Other details and instructions...)

Thank you. 3. Click Done. 4. Repeat the steps to create an email text template for the email subject.  API Name: StuRegistrationEmailTextTempSub  Body Text: Subject: Welcome to EduConsultantPro - Registration Successful 9. Add Action Element - Send Email to Student

  1. Drag an Action element onto the canvas, after all the Decision paths.
  2. Label it Send Email to Student.
  3. Under Set Input Values for Selected Action:  Body: {!StuRegistrationEmailTextTempBody}  Recipient Address List: {!StudentRecordRes.Email__c}  Subject: {!StuRegistrationEmailTextTempSub}
  4. Click Done.
  5. Add Success Screen Element
  6. Drag a Screen element onto the canvas, after the Send Email to Student action.
  7. Label it Success Screen.
  8. From the left panel, search for the Display Text component and drag it to the main panel.  Label: SuccessMessage  Resource Picker:  vbnet  Copy code  Dear {!StudentRecordRes.Name},

Congratulations and welcome to EduConsultantPro!

We are delighted to inform you that your registration on our platform has been successfully completed. You are now part of our esteemed community dedicated to empowering students like you to achieve their educational and immigration aspirations.

Your Registration details have been sent through mail kindly check it once.

Thank you. 4. Click Done. 11. Save and Activate the Flow

  1. Save the flow with the name EduConsultPro Student Flow.
  2. Click Activate to make the flow available for use.

image

Create Users

  1. Create a New User
  2. Go to Setup:  Log in to Salesforce.  Click on the gear icon (Setup) in the top-right corner.  In the Quick Find box, type Users and select Users under Administration.
  3. Create New User:  Click on New User.
  4. Enter User Information:  Last Name: Consultant  Alias: Auto-filled (can be edited).  Email: Enter the email address for the new user.  Username: Enter a unique username (usually the same as the email).  Nickname: Auto-filled (can be edited).  Role: Select the appropriate role if needed.  User License:Salesforce Platform  Profile:Standard Platform User
  5. Fill in Other Mandatory Fields:  Time Zone: Select the appropriate time zone.  Locale: Select the appropriate locale.  Email Encoding: Choose the email encoding.  Language: Select the preferred language.
  6. Save the User:  Click Save.
  7. Configure the User Settings
  8. Edit User Settings:  Go back to Setup.  In the Quick Find box, type Users and select Users.  Find the user you just created (Consultant) and click Edit next to your name.
  9. Set Manager in Approver Settings:  Scroll down to the Approver Settings section at the bottom.  In the Manager field, select Consultant from the dropdown list.
  10. Save Changes:  Click Save.

image

Create an Approval Process for Property Object

  1. Create Email Templates
    Step 1: Enable Lightning Email Templates
  2. Go to Setup:  Log in to Salesforce.  In the Quick Find box, type Email Templates.  Select Lightning Email Templates.  Ensure that the toggle is turned on. Step 2: Create a New Email Template Folder
  3. Open the App Launcher:  Click on the App Launcher (grid icon) in the top-left corner.  Search for Email Templates and select it.
  4. Create a New Folder:  Click New Folder.  Name the folder as desired (e.g., "Appointment Templates").  Set the access level, if needed, and click Save. Step 3: Create a Submission Email Template
  5. Create a New Email Template:  Within the newly created folder, click New Email Template.  Select the folder you just created.  Enter the template details: o Template Name: Submission Template o Subject: [Subject you want to use] o HTML Body: o html o Copy code o Dear {{{Appointment__c.Student_Name__c}}},

I hope this email finds you well. I am writing to confirm the details of our upcoming appointment scheduled for {{{Appointment__c.Appointment_DateTime__c}}} regarding {{{Appointment__c.PurposeTopic__c}}}.

Appointment Details: Appointment No : {{{Appointment__c.Name}}}, Student Name : {{{Appointment__c.Student_Name__c}}}, Consultant Name : {{{Appointment__c.Consultant__c}}}, Date & Time : {{{Appointment__c.Appointment_DateTime__c}}}, Purpose : {{{Appointment__c.PurposeTopic__c}}}

I want to assure you that I am looking forward to our meeting and am fully prepared to address any questions or concerns you may have regarding {{{Appointment__c.PurposeTopic__c}}}. Your success and satisfaction are my top priorities, and I am committed to providing you with the guidance and support you need.

If you have any specific topics or questions you would like to discuss during our appointment, please feel free to share them with me in advance. This will help ensure that our time together is as productive and beneficial as possible.

If for any reason you need to reschedule or cancel our appointment, please notify me at your earliest convenience so that we can make alternative arrangements.

Once again, thank you for choosing to work with me on this matter. I am confident that our collaboration will lead to positive outcomes and progress toward your goals.

If you have any questions or require further information before our scheduled appointment, please don't hesitate to reach out to me.

Looking forward to our meeting.

Best regards,

{{{Recipient.Name}}},

EduConsultantPro  Save the Template. Step 4: Create Approval and Rejection Email Templates

  1. Repeat the above steps to create two more email templates:  Approval Template: Customize the message for approval.  Rejection Template: Customize the message for rejection.
  2. Create an Approval Process
    Step 1: Start the Approval Process
  3. Go to Setup:  In the Quick Find box, type Approval Processes.  Select Approval Processes.
  4. Select Object:  Under Manage Approval Processes For, select Appointment.
  5. Create New Approval Process:  Click Create New Approval Process.  Select Use Jump Start Wizard. Step 2: Configure the Approval Process
  6. Enter Process Details:  Process Name: Appointment Approval  Unique Name: Auto-filled  Entry Criteria: Set criteria if needed, or leave blank to apply to all records.
  7. Assign Approver:  Under Select Approver, select Manager for the option Automatically assign an approver using a standard or custom hierarchy field.
  8. Set Next Automated Approver:  Click Next.  Next Automated Approver Determined By: Select Manager.
  9. Set Record Editability:  From Record Editability Properties, select Administrators OR the currently assigned approver can edit records during the approval process.
  10. Save the Approval Process:  Click Save. Step 3: Configure Initial Submission Actions
  11. View Approval Process Detail Page:  After saving, click View Approval Process Detail Page.
  12. Add Field Update:  Under Initial Submission Actions, click Add New --> Field Update.  Field Update Name: Submitted  Field to Update: Appointment: Status  Specify New Field Value: Pending
  13. Add Email Alert:  Under Initial Submission Actions, click Add New --> Email Alert.  Description: Submission Email Alert  Email Template: Select Submission Template.  Recipient Type: Select your name or other recipients as needed. Step 4: Configure Final Approval and Rejection Actions
  14. Final Approval Actions:  Add Field Update to update the status to Approved.  Add an Email Alert using the Approval Email Template.
  15. Final Rejection Actions:  Add Field Update to update the status to Rejected.  Add an Email Alert using the Rejection Email Template. Save and Activate the Approval Process

Create a Record Triggered Flow

  1. Configure the Start Element
  2. Go to Setup:  Log in to Salesforce.  In the Quick Find box, type Flows and select Flows under Process Automation.
  3. Create a New Flow:  Click on New Flow.  In the Flow Builder, select Record-Triggered Flow.  Click Create.
  4. Configure the Start Element:  In the Configure Start window: o For Object, select Appointment. o For Trigger the Flow When, select A record is created.  The flow will now trigger every time a new Appointment record is created.
  5. Add an Action Element
  6. Add an Action Element:  After the Start element, drag the Action element from the left panel onto the canvas.  In the Action field, search for and select Submit for Approval.  Label the action as Approval SubFlow.
  7. Configure the Action Element:  Set the RecordId field to {!$Record.Id}. This ensures that the record that triggered the flow (the Appointment record) will be submitted for approval.
  8. Save and Activate the Flow
  9. Save the Flow:  Click on Save.  Label the flow as EduConsultPro Approval Flow.
  10. Activate the Flow:  Click on Activate to make the flow live.

image

Create a ScreenFlow for Existing Student to Book an Appointment

  1. Create a New Screen Flow
  2. Go to Setup:  In Salesforce, go to the Setup menu.  In the Quick Find box, type Flow and select Flow Builder under Process Automation.
  3. Create a New Flow:  Click New Flow.  Select Screen Flow.  Click Create.
  4. Add a Screen Element to Get Student Info
  5. Add a Screen Element:  Drag the Screen element from the left panel onto the canvas.  In the Screen Properties pane, set the Label to Get Student Info.
  6. Add Text Components:  From the left side panel, drag two Text components onto the screen.  Set the labels as follows: o 1st Text Component Label: Enter Student Name o 2nd Text Component Label: Enter Student Email
  7. Click Done to save this screen.
  8. Add a GET Record Element to Fetch Student Record
  9. Add a GET Record Element:  After the Screen element, drag the Get Records element onto the canvas.  Label it as Get Rec.
  10. Configure the GET Record Element:  Object: Select Student.  Condition Requirements: Set to All Conditions Are Met (AND). o Field: Student Name Operator: Equals Value: !{Enter_Student_Name} o Field: Email__c Operator: Equals Value: !{Enter_Student_Email}
  11. Click Done to save this element.
  12. Add a Decision Element to Choose Between Appointment or Case
  13. Add a Decision Element:  Drag the Decision element onto the canvas after the Get Record element.  Label it as Appointment or Case.
  14. Configure the Decision Element:  Outcome Label: Appointment Resource: !{How_may_I_Help_you} Operator: Equals Value: !{Book_an_Appointment}  Click the + icon to add another outcome. o Outcome Label: Case Resource: !{How_may_I_Help_you} Operator: Equals Value: !{Create_a_Case}
  15. Click Done to save this element.
  16. Add a Screen Element for Appointment Booking
  17. Add a Screen Element:  After the Decision element, on the Appointment path, add another Screen element.  Label it as Appointment Booking Screen.
  18. Create a New Resource:  Click on Fields in the screen editor.  Select the record variable input and create a new resource called AppointmentRecordRes to display all fields in the Appointment object.
  19. Add Fields to the Screen:  Drag all necessary fields (e.g., Date, Time, Purpose, etc.) from the Appointment object to the screen to collect student information.
  20. Click Done to save this screen.
  21. Add a GET Record Element to Fetch Consultant Record
  22. Add a GET Record Element:  After the Appointment Booking Screen, drag another Get Records element onto the canvas.  Label it as Get Consultant Rec.
  23. Configure the GET Record Element:  Object: Select Consultant.  Condition Requirements: Set to All Conditions Are Met (AND). o Field: Name Operator: Equals Value: !{AppointmentRecordRes.Consultant_Name__c}
  24. Click Done to save this element.
  25. Create the Appointment Record using Create Records Element
  26. Add a Create Records Element:  After the Get Consultant Rec element, drag the Create Records element onto the canvas.  Label it as Create Appointment.
  27. Configure the Create Records Element:  How many records to create?: Select One.  How to Set the Record Fields?: Select Use separate resources, and literal values.  Object: Select Appointment.
  28. Set the Field Values:  Field: Appointment_DateTime__c Value: !{AppointmentRecordRes.Appointment_DateTime__c}  Field: Consultant__c Value: !{Get_Consultant_Rec.Id}  Field: Notes__c Value: !{AppointmentRecordRes.Notes__c}  Field: PurposeTopic__c Value: !{AppointmentRecordRes.PurposeTopic__c}  Field: Student_Name__c Value: !{Get_Rec.Id}
  29. Click Done to save this element.
  30. Add a Screen Element for Confirmation
  31. Add a Screen Element:  After the Create Appointment element, add another Screen element.  Label it as Confirmation Screen.
  32. Add Display Text:  From the left panel, drag the Display Text component onto the screen.  Label it as Appointment_Confirmation.
  33. Configure the Display Text:  In the Resource picker box, paste the following:  yaml  Copy code  Consultant Name: {!Get_Consultant_Rec.Name} Date & Time: {!AppointmentRecordRes.Appointment_DateTime__c} Notes: {!AppointmentRecordRes.Notes__c}
  34. Click Done to save this element.
  35. Add a SubFlow Element for Creating a Case
  36. Add a SubFlow Element:  After the Decision element, on the Case path, add a SubFlow element.  Search for and select Create a Case.  Label it as Create Student Case.
  37. Click Done to save this element.
  38. Save and Activate the Flow
  39. Save the Flow:  Label it as EduConsultantPro Existing Student Flow.
  40. Activate the Flow:  Click on Activate to make it live.

Create a ScreenFlow to Combine all the flows at one place

  1. Add a Screen Element: Welcome Screen
  2. Create a New ScreenFlow:  Go to Setup, type Flow Builder in the Quick Find box, and select Flow Builder.  Click on New Flow and select Screen Flow.
  3. Add a Screen Element:  Drag a Screen element onto the canvas.  In the Screen Properties pane, label it as Welcome Screen.
  4. Add Display Text Component:  From the left side panel, search for Display Text and drag it to the main panel.  Label the component as SuccessMessage.  In the Resource Picker box, paste the following text:
  5. vbnet
  6. Copy code
  7. Welcome to EduConsultantPro

Your premier destination for education and immigration solutions!

At EduConsultantPro, we understand that embarking on educational or immigration journeys can be both exhilarating and daunting. That's why we're here to guide you every step of the way with expertise, dedication, and personalized support.

Whether you're seeking to pursue your academic dreams abroad, navigate the complexities of immigration processes, or enhance your professional skills through international opportunities, EduConsultantPro is your trusted partner.

Our team of seasoned consultants is committed to understanding your unique aspirations and crafting tailored strategies to help you achieve your goals efficiently and effectively. From selecting the right educational institution to navigating visa procedures, our comprehensive services cover all aspects of your journey.

At EduConsultantPro, we believe in fostering inclusive communities and unlocking the full potential of every individual. With our unwavering commitment to excellence and integrity, we strive to make your experience with us seamless and rewarding.

Welcome to EduConsultantPro – where your aspirations meet our expertise, and together, we pave the path to success. Let's embark on this transformative journey together! 7. Click Done to save the screen element. 2. Add a Screen Element: Existing or New Student Confirmation Screen

  1. Add Another Screen Element:  Drag a Screen element after the Welcome Screen element.  Label it as Existing or New Student Confirmation Screen.
  2. Add Radio Button Component:  From the left side panel, add a Radio Button component.  Set the Label to Are you an Existing Student.
  3. Create Choices:  Click on Add Choice and type "Yes" in the input field, then click Create Yes choice.  Repeat the above step to create a "No" choice resource.
  4. Click Done to save the screen element.
  5. Add a Decision Element
  6. Add a Decision Element:  Drag a Decision element after the Existing or New Student Confirmation Screen element.  Label it as Decision 1.
  7. Create Outcomes:  Under Outcome Label, enter If Existing Student.  Set the Condition as follows: o Resource: {!Are_you_a_Existing_Student} o Operator: Equals o Value: {!Yes}  Click the "+" icon and repeat the steps to create an outcome for "No".
  8. Add SubFlow Elements
  9. Add SubFlow for Existing Student:  Drag a SubFlow element onto the If Existing Student path after the Decision 1 element.  Search for and select EduConsultantPro Existing Student Flow.  Label it as Existing Student Flow.
  10. Add SubFlow for New Student:  Drag a SubFlow element onto the If Not an Existing Student path after the Decision 1 element.  Search for and select EduConsultantPro Student Flow.  Label it as New Student Flow.
  11. Save and Activate the Flow
  12. Save the Flow:  Click on Save.  Label it as EduConsultantPro Combined Flow.
  13. Activate the Flow:  Click on Activate to make the flow live.

Create a lightning app page

  1. Open Lightning App Builder:  From Setup, type "App Builder" in the Quick Find box.  Click on Lightning App Builder.
  2. Create a New Home Page:  Click on New.  Select Home Page.  Click Next.
  3. Configure the Home Page:  Enter the Page Name as “EduConsultPro Home Page”.  Choose the Standard Home Page template.  Click Done.
  4. Add Components to the Page:  In the page layout editor, drag the Flow component to the top-right region of the page.  In the Flow component's configuration panel, search for and select the “EduConsultantPro Flow”.
  5. Save the Page:  Click Save.
  6. Activate the Page:  To make the page available in your application, click Activate.  Choose the appropriate options to add it to the app (e.g., Default for specific profiles or as a utility).
  7. Publish the Page:  Click Publish to make the page live and accessible in your Salesforce environment.

image

image

About

salesforce project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published