本文是《创建 Sales Email Prompt Template — Einstein AI 驱动的个性化欢迎邮件》的练习操作步骤。阅读原文请见:创建 Sales Email Prompt Template — Einstein AI 驱动的个性化欢迎邮件。
1. Sign Up for a Custom Playground
- Click Create Playground (org is auto-attached to your Trailhead account).
- Note the expiration date and complete the badge before then.
2. Enable Einstein
- In the Challenge section, click Launch to open your org.
- Click the gear icon and select Setup.
- In Quick Find, search for and select Einstein Setup, and ensure the toggle is On.
- Refresh your browser.
3. Enable Einstein for Sales
- In Setup, search for and select Einstein for Sales.
- Turn on Sales Emails by clicking the toggle.
4. Create a Lookup Field on Guest Event
- In Setup, select Object Manager.
- Search for and select Guest Event, then Fields & Relationships.
- Click New, select Lookup Relationship, then Next.
- For Related To, select External Reservation.
- Click Next four times, then Save.
5. Create and Associate a Reservation
- From the Sales App, click the External Reservations tab and click New.
- Set Check-in Date to today and Check-out Date 5 days later.
- Enter
Suitefor Room Type, then Save. - Click the Guest Events tab, open the All list view, and click GE-00000001.
- Edit the External Reservation field and select ER-00000004, then Save.
6. Create the Sales Email Prompt Template
- Click the gear icon and select Setup.
- In Quick Find, search for and select Prompt Builder.
- Click New Prompt Template.
- Set: Type Sales Email, Name
Welcome Guest, API NameWelcome_Guest, DescriptionThis template is used to craft a welcome email for guests, sent once they check in. - Recipient: Contact; Related Object: Guest Event.
- Click Next, then paste the provided prompt text.
- For Models, select GPT 4 Omni Mini.
7. Add Merge Fields
- Delete the
Check_in_Date__cplaceholder and click + Insert Resource → Guest Event > External Reservation > Check-In Date. - Delete
Check_out_Date__cand insert Check-Out Date. - Delete
Room_Type__cand insert Room Type. - Click Save.
8. Preview and Activate
- Click Preview Settings.
- For Recipient, select Sofia Rodriguez.
- For Related Record, enter
GEand select GE-00000001. - Click Preview, then View Rendered Response and review.
- Click Activate.
9. Distribute the Sales Email Prompt Template
- Open the App Launcher and select Contacts.
- Find and click Sofia Rodriguez.
- In the Activity section, click the arrow next to Email (envelope icon).
- Select Sofia's email address.
- In the email draft, click Draft with AI.
- Select the Welcome Guest template and the GE-00000001 guest event, then Continue.
- After Einstein drafts the email, click Done, then Send.