0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Prompt Builder Templates Superbadge Unit

Last updated at Posted at 2025-03-24

Superbadgeも質問&回答してもいいようなことが言われていますが、Trailblazer Communityで質問しても運営からは何にも回答がないので、今すぐ回答するのは控えた方が後でトラブルにならないと判断しています。しかし、急に解禁になっても困るので、情報だけは整理しておきます。


image.png

We can't find the Interest Summary field enabled for use with Einstein Generative AI

Make sure you replaced the placeholder text [all Fitness records related to the contact] with a Resource that references the Fitness Interest related list for a client

I just got the solution for the same problem I was facing. In the resource picker, under Contact, scroll all the way down and you will find the related list you need to use. It looks like this "{!$RelatedList:Contact.Fitness__r.Records}"

I just figured this out. You have to enable Sales Emails. From Setup --> Einstein for Sales --> Turn on Sales Emails

https://help.salesforce.com/s/articleView?id=sf.einstein_sales_emails_setup.htm&type=5

Then your Prompt Builder template type needs to be a Sales Email.

https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000OMxI0AW

image.png

このフローは?

image.png

We couldn't find a Fitness record associated with Latisha Bryce's contact record, or it doesn't have the specified text or Interest Type.'

ええ、もう一度試してみました。興味の種類でランニングを選択していたらうまくいきました。実は、以前もランニングを選択していてエラーになったのですが…今回は無事に完了し、このチャレンジをクリアできました!

Unfortunately nothing worked.
I had to create a new Playground to be able to complete.

実際にチャレンジしてみました

プロンプトテンプレートとレコードトリガーフローを使用してテキストを翻訳する

提供されたテキストを適切なリソース参照で変更して、プロンプト テンプレートを作成します。システムで提供されるレコード トリガー フローでテンプレートを使用します。レコードを使用して翻訳の自動化をテストします。

何もせいないで検証ボタンをクリックする

Einstein Generative AI must be enabled to work with Prompt Builder templates.

Einstein Setupを有効化

We can't find a prompt template called Translate Survey Input, or it isn't configured according to all the requirements, including having a description. Prompt templates configured with the wrong template type will need to be built as a new template, as the prompt template type can't be changed after creation.

「調査入力の翻訳」というプロンプト テンプレートが見つからないか、説明を含むすべての要件に従って構成されていません。間違ったテンプレート タイプで構成されたプロンプト テンプレートは、作成後にプロンプ​​ト テンプレート タイプを変更できないため、新しいテンプレートとして構築する必要があります。

テンプレートを作って有効化しても変わらないですね。何が足らないのかな?

3つのオブジェクトが使える... あああテンプレートの種類が違っていました。

アクティブ化しないとエラー内容は同じでしたが、有効化したら下記に変わりました。
これでテンプレートは正しくできてそうだな。

We check your work in the active version of the flow. We couldn't find an active flow with the expected configuration.

フローのアクティブ バージョンで作業を確認しました。期待どおりの構成のアクティブ フローが見つかりませんでした。

Make sure the Update Records element is configured to update the Translated Survey Input field with the value from the Translate Survey Input action.

レコードの更新要素が、翻訳された調査入力フィールドを調査入力の翻訳アクションの値で更新するように設定されていることを確認します。

ああ、項目を間違ってました。

合格できました。

AIが生成した関連レコードの要約を作成する

任意の数の関連レコードを要約し、その要約をカスタム フィールドに入力するためのプロンプト テンプレートを作成します。

何もしないで検証ボタンをクリックする

We can't find the field called Interest Summary, or it isn't properly configured.

Interest Summaryという項目を作って検証ボタンをクリック

あああ、困ったエラーだな。

Whoops, looks like there was a problem. Please try again.

有効化せずに検証。う~ん有効化が必要みたい。

We can't find the Summarize Client Goals prompt template ready for use in the system.

システムで使用できる「クライアント目標の要約」プロンプト テンプレートが見つかりません。

動的フォームの設定をしたんだけど...

We couldn't find any text in the Interest Summary field on Robinette Bullman's contact record.
Robinette Bullman の連絡先レコードの「関心の概要」フィールドにテキストが見つかりませんでした。

あああ、実際に画面を開いて要約した結果を保存させないといけないんですね。
いつもはフローで自動更新する方法しか使わなかったので、よく分からんかったです。

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

チーム メンバーが洞察に富んだメールをクライアントに簡単に送信できるようにするプロンプト テンプレートを作成します。

何もしないで検証してみる

We can't find a prompt template with the name Program Recommendation Email, or it isn't the correct template type. Make sure to provide a description for the prompt template.

「プログラム推奨メール」という名前のプロンプト テンプレートが見つからないか、テンプレートの種類が正しくありません。プロンプト テンプレートの説明を必ず入力してください。

やっと設定したと思ったら...

We can't find the correct permissions assigned to Victoria Bryant's user record.

Victoria Bryant のユーザー レコードに割り当てられた正しい権限が見つかりません。

権限セット(Einstein Sales Emails)に追加したけど...

We can't find an email sent from Robinette's contact record using the Program Recommendation Email prompt template.

プログラム推奨メールプロンプトテンプレートを使用して Robinette の連絡先レコードから送信されたメールが見つかりません。

実際に送信しないといけないみたいですね。

合格できました

We couldn't find a Fitness record associated with Latisha Bryce's contact record, or it doesn't have the specified text or Interest Type.

I actually had the same issue as per your 1st screenshot displayed. After I tried a different approach and came across it was actually due to the Translated Survey input was missing or failed to be generated by system by the prompt. So, this is what I did:

  1. I deleted the old Fitness record without the translated survey input.
  2. then create a new Fitness record under Latisha Bryce, this time the translated survey input was successfully generated automatically.
  3. As soon as I clicked on the check challenge again, I was able to pass it.

image.png

実は、最初のスクリーンショットと同じ問題が発生していました。別の方法を試してみたところ、翻訳されたアンケートの入力が欠落しているか、プロンプトでシステムによって生成されなかったことが原因であることがわかりました。そこで、以下の手順を実行しました。

  1. 翻訳されたアンケートの入力がない古いフィットネス記録を削除しました。
  2. 次に、Latisha Bryce で新しいフィットネス記録を作成しました。今回は、翻訳されたアンケートの入力が自動的に生成されました。
  3. もう一度チェックチャレンジをクリックすると、すぐに合格できました。

未分類

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?