Skip to main content
Slack の Trailblazer Community がオープンベータを開始しました。ぜひ参加して、リアルタイムで交流しましょう。Slack に参加する

Superbadge を獲得すると、学習したスキルを複雑な現実世界のビジネス上の問題に適用して活用することができます。これらの評価には、より高いレベルのスキルと知識が求められます。手順どおりに進める Challenge とは異なり、完了までにより多くの時間がかかることもよくあります。

エンゲージメントメール用のプロンプトテンプレートを作成する

メモ

メモ

日本語で受講されている方へ
Challenge は日本語の Trailhead Playground で開始し、かっこ内の翻訳を参照しながら進めていってください。Challenge での評価は英語データを対象に行われるため、英語の値のみをコピーして貼り付けるようにしてください。日本語の組織で Challenge が不合格だった場合は、(1) この手順に従って [Locale (地域)] を [United States (米国)] に切り替え、(2) [Language (言語)] を [English (英語)] に切り替えてから、(3) [Check Challenge (Challenge を確認)] ボタンをクリックしてみることをお勧めします。

翻訳版 Trailhead を活用する方法の詳細は、自分の言語の Trailhead バッジを参照してください。

クライアント情報の要約と翻訳を行う新しいプロンプトテンプレートと自動化が導入され、チームは大変喜んでいます。次に Tranquil Trails は、ウェルネスコーチが、クライアント一人ひとりに合わせて、ウェルネス目標への取り組みを続ける意欲を引き出すメールを簡単に作成できるようにしたいと考えています。そこでチームは、クライアント情報と利用可能なプログラムをシステムで照合し、クライアントの関心に合った活動やサービスをすばやく提案できるようにしたいと考えています。これにより、コーチが関心事項やプログラムのレコードを手作業で 1 件ずつ確認する必要がなくなります。

プログラムのおすすめプロンプトテンプレートを作成する

営業活動でよく使うメールを、顧客ごとに内容を調整してすばやく下書きできるプロンプトテンプレートを作成します。テンプレート名を Program Recommendation Email (プログラムのおすすめメール)、API 参照名を Program_Recommendation_Email に設定し、テンプレートの目的がわかる説明を入力します。テンプレートを定義するときに、[Recipient (受信者)] で Contact (取引先責任者) オブジェクトを選択し、[Related Object (関連オブジェクト)] は未設定のままにしてください。このテンプレートは、クライアントの関心事項や好みに関する情報を参照して、パーソナライズされたメールを生成します。

また、このテンプレートでは、Tranquil Trails のシステムに用意されている Program_Recommendation という Apex クラスも参照します。API 参照名は Prompt_Program_Recommendation_Invocable です。この Apex クラスでは、数行のコードだけで、クライアント一人ひとりのフィットネスへの関心に合ったウェルネスプログラムを動的におすすめできます。

プロンプトテンプレートワークスペースで、次の手順を使用します。フルネームと指定されている箇所では、必ずフルネームを使用してください。

You are a wellness specialist from a company called Tranquil Trails and the sender of this email, [sender's full name]. You are writing an email to an individual client, [recipient's full name].
Instructions: """
Follow these instructions precisely. Don’t add any information not provided.
Do not use phrases like "I hope this email finds you well" or any other variation that expresses well-wishes for the recipient's well-being. Use clear, concise, and straightforward language in the active voice, strictly avoiding filler words and phrases or redundant language.
The email should include the following:
- Generate a subject line that can increase open rate using words and content related to the email body content.
- The salutation must only contain the recipient's first name.
- Refer to the sender in the singular voice, using references such as "I" and not "we" in the email.
- Convey that you are checking in to follow up and encourage the client's progress.
- The message should evoke enthusiasm with intensifiers, but limit the use of exclamation points.
- Maintain a casual tone by using contractions and referring to the recipient in the first person, but do not use discourse markers.
Below are two sets of reference information.
The first is a list of the recipient's interests tagged as :Goals.
The second is a list of the current active programs in a JSON object tagged as :Programs.
Craft a sales email identifying a maximum of two programs that would be of key interest to the recipient based on their :Goals and the available :Programs.
### Goals
[Insert the related list of all Fitness records for this contact.]
### Programs
[Call the Apex class Program_Recommendation]
Follow these instructions strictly to generate the message to be sent to the client.
"""

AI を活用した営業メールを送信する

応答をプレビューしてモデルが想定どおりに動作することを確認し、プロンプトテンプレートをシステムで使用できる状態にします。ウェルネスコーチの Victoria Bryant が、標準のメール活動で [Draft with AI (AI を使用してドラフトを作成)] 機能を選択できるようにします。Program Recommendation Email (プログラムのおすすめメール) テンプレートを使用して Robinette Bullman にメールを送信して、実際にユーザーがメールを送信するように機能をテストします。機能をテストするときに、Victoria としてログインする必要はありません。

テストが無事に完了したら、その成果をマーケティングチームと営業チームに共有し、プロンプトビルダーでどのようなことができるかを紹介します。両チームは、クライアントのアンケート確認、プログラムのおすすめ、個別メールの作成にかかる時間を大幅に減らせると、すでに実感しています。また、今後さらに多くの AI 機能が導入されることも心待ちにしています。

Note

Superbadge の体験を刷新しました。移行期間中にこの Superbadge を開始した場合、完了済みの Challenge はそのまま引き継がれますが、新たに追加された Get Ready for Superbadge (Superbadge の準備) 単元を完了するまで、Superbadge が未完了と表示されることがあります。詳しくは、「Superbadges Overview (Superbadge の概要)」を参照してください。

リソース

Salesforce ヘルプで Trailhead のフィードバックを共有してください。

Trailhead についての感想をお聞かせください。[Salesforce ヘルプ] サイトから新しいフィードバックフォームにいつでもアクセスできるようになりました。

詳細はこちら フィードバックの共有に進む