Superbadge を獲得すると、学習したスキルを複雑な現実世界のビジネス上の問題に適用して活用することができます。これらの評価には、より高いレベルのスキルと知識が求められます。手順どおりに進める Challenge とは異なり、完了までにより多くの時間がかかることもよくあります。
エンゲージメントメール用のプロンプトテンプレートを作成する
クライアント情報の要約と翻訳を行う新しいプロンプトテンプレートと自動化が導入され、チームは大変喜んでいます。次に 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 機能が導入されることも心待ちにしています。
