Skip to main content
3월 5~6일에 샌프란시스코의 TDX 또는 Salesforce+에서 열리는 AI 에이전트 시대를 위한 개발자 컨퍼런스에 참여하세요. 지금 등록하기.

Activate Your Flow and Add a Quick Action to Your Page Layout

Place a Screen Flow on the Page

Remember that your goal in this project is to create a button that emails every program participant with a program engagement in a cohort.

Screen flows require interaction with a user, so your flow won’t work unless a user can access it. For this example, getting the flow to a user takes three steps.

  1. Activate the flow
  2. Create the button
  3. Place the button on the page layout

Let’s get to work.

Activate Your Flow

Let’s start by activating the flow, which you can do in Flow Builder.

If you left Flow Builder after the last step, you can get back to your flow by following these instructions.

  1. From Setup, in the Quick Find box, enter flows, and then select Flows.
  2. Click Email Program Participants (Cohort).

Normally at this stage you would test the flow by using the Run or Debug features in Flow Builder. You can learn more about those helpful features in the Resources section.

In this case, you're building the flow in a safe, isolated Playground. We've tested this flow many times at Salesforce. So, you can activate the flow now and test it later.

Click Activate in Flow Builder. That’s it!

Click Back in Flow Builder to go back to Setup.

Create the Action

Before you can add your flow to the page, you need to create a new button for it to work on the Program Cohort object.

  1. In Setup, click the Object Manager tab.
  2. Find and select Program Cohort from the list.
  3. Click Buttons, Links, and Actions.
  4. Click New Action.
  5. In the Action Type field, select Flow.
  6. In the Flow field, select Email Program Participants (Cohort).
  7. In the Label field, enter Email Program Participants. The Name field should automatically populate with Email_Program_Participants.
  8. In the Description field, enter Emails all program participants with engagements in this cohort.
  9. Click Save.

Add the Action to the Page Layout

Now that you have a button, add it to the page as a quick action.

  1. In Setup, click the Object Manager tab.
  2. Find and select Program Cohort from the list.
  3. Click Page Layouts.
  4. Select Program Cohort Layout.
  5. In the palette, click Mobile & Lightning Actions.
  6. Drag Email Program Participants from the palette to the Salesforce Mobile and Lightning Experience Actions area. Place it second in the list after Edit.
    Place the Email Program Participants action between Edit and Clone.
  7. Save your work.

Check the Button on the Layout

Just to make sure, check that the button appears on a program cohort record. 

  1. Find and select Program Cohorts from the App Launcher ().
  2. Switch to the All list view and click any cohort, such as Emerging Readers: Primary Grades.
  3. Check that the Email Program Participants button appears in the quick actions area on the record.

The Email Program Participants quick action appears on a record page between Edit and Clone.

Don’t click that button just yet! In the next step you make sure the email is sent with the details you expect. To do that, you’ll set up two new contacts with your email address, create program engagements for each, and add them to a cohort.

For now, click Verify to check your work and move on to the next step.

Resources

Salesforce 도움말에서 Trailhead 피드백을 공유하세요.

Trailhead에 관한 여러분의 의견에 귀 기울이겠습니다. 이제 Salesforce 도움말 사이트에서 언제든지 새로운 피드백 양식을 작성할 수 있습니다.

자세히 알아보기 의견 공유하기