Skip to main content

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

Hello 

I'm stuck on the "Create a Prompt Template That Delivers a Warm, Personalized Pre-Arrival Message" challenge (Service Agent Customization with Prompt Builder). The check keeps failing with: 

 

Pre-Arrival Guest Welcome challenge keeps failing —

 

 

I've verified the following against the challenge steps:

  • Template Type: Flex
  • Template Name: Pre-Arrival Guest Welcome / API Name: Pre_Arrival_Guest_Welcome
  • Input source: Name Contact, API Name Contact, Source Type Object, Object Contact
  • Both [Contact First Name] placeholders (opening line and the "Hi" greeting) replaced via Insert Resource → Contact → FirstName — both render as clean Input.Contact.FirstName chips
  • [Check-in Date] replaced via Insert Resource → Contact → Next Check-in Date
  • Model: OpenAI GPT 4 Omni Mini
  • Template is Activated 

 

Screenshot 2026-06-19 142023.png

 

 

What I've already tried:

  • Deleted and rebuilt the template from scratch
  • Re-inserted all merge fields fresh via the resource picker (not hand-typed)
  • Confirmed no leftover placeholder text or dangling @Contact. fragments remain
  • Confirmed I'm using the correct connected Dev Edition org

The prompt visibly matches the spec but the grader still can't find the FirstName merge field. Has anyone hit this and found a fix? Is there a known caching/grader issue with this challenge, or something about the Contact input config I might be missing?

Org type: Developer Edition (Prompt Builder + Agentforce special org) 

 

#Trailhead Challenges  #Agentforce

10 answers
  1. Today, 12:57 AM

    This keeps happening to me in the Craft an Effective Prompt Template challenge. The issue is that the validator is looking for this exact piece of reference: {!$Input:Contact.FirstName} but in newer versions the syntax is automatically changed to  {{Input:Contact.FirstName}} How can we actually fix this? or the validator needs to be updated?

0/9000

Hello! I'm new to MCN and we currently have configuration changes in UAT. I'm just wondering what the best way is to deploy these changes into Production.  

 

Is it deployable using Changeset, Gearset or Copado, or should we use the Salesforce CLI?  

 

Thank you for your inputs!

0/9000

Hi, please bear with me for a little bit. We have a custom object, Service, that has a picklist, also Service, and a multi-select picklist, Subtype. For an unknown reason Subtype was not made dependent on Service. Instead administrators select allowable Subtype values for each service manually.

 

Another custom object, ServiceAuth, has a lookup to Service.Service__c. It also has a Subtype multi-select picklist. Its allowable values are filtered to the values chosen in Service.Subtype__c. This is controlled by code. I know!

 

Finally, I am making a third custom object, Voucher. It has a lookup to ServiceAuth, and a formula field that gets the ServiceAuth.Service__c value. I need to make a picklist for Subtype that only allows the user to select the values chosen in ServiceAuth.Subtype__c, and would prefer to avoid more code. Am I out of luck?

3 answers
  1. Feb 29, 2024, 6:20 PM

    You're not out of luck! While Salesforce doesn't provide a built-in feature to directly create a dependent picklist from a chosen multi-select picklist, you can achieve this with a combination of formula fields and validation rules.

     

    Here's a general approach you can take:

     

    Formula Field on Voucher: Create a formula field on the Voucher object to pull the ServiceAuth.Subtype__c values. This formula field can concatenate the selected Subtype values from the related ServiceAuth record.

     

    Validation Rule: Create a validation rule on the Voucher object to check if the selected Subtype value matches any of the concatenated values from the formula field. If it doesn't match, prevent the record from being saved.

     

    Here's a simplified example:

     

    Formula Field (Concatenated_Subtypes__c) on the Voucher object:

     

    This formula field concatenates the selected Subtype values from the related ServiceAuth record.

     

    Formula:

     

    TEXT(ServiceAuth__r.Subtype__c)

    Validation Rule on the Voucher object:

     

    This validation rule ensures that the selected Subtype value matches one of the values in the concatenated Subtypes from the related ServiceAuth record.

     

    Rule Criteria:

     

    NOT(ISPICKVAL(Voucher_Subtype__c, Voucher__r.Concatenated_Subtypes__c))

    Error Message:

     

    The selected Subtype is not valid. Please choose a valid Subtype from the list provided.

0/9000

I've become the admin for an org with a good amount of Apex customizations, Flows and Lightning Web Components. I am also moving towards more of a developer role. Can anyone recommend an app or software for organizing and tracking all of this? We only have one more month with our third-party developer, so I need to get a handle on things as quickly as possible.

2 answers
  1. Andrew Russo (BACA Systems) Forum Ambassador
    Apr 25, 2023, 9:38 PM

    id strongly reccomnd looking at elements.cloud. we have it and love it. it has saved us so much time we have a highly complex org. only 100 salesforce users but over 5k apex classes and 1250 custom objects in the org. @Conrad Aach

0/9000
3 answers
  1. Yesterday, 8:48 PM

    Hi , 

     

    To fix this error, deactivate the CC Service Agent in Agentforce Builder, verify that the Get Experience Details action is added directly inside the Experience Management topic with the correct API name (Get_Experience_Details), save your work, and activate the agent again.

0/9000

Is there a way to disable the latest Salesforce Help update until we're ready to deploy it to users? 

 

#Salesforce Admin

1 answer
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    Oct 22, 10:29 PM

    Hello @Bradley Seymore, please have a look at the linked detailed here : 

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

    Or is it something else you want to hide ? 

    Eric

0/9000

Is there a free version to do this on the Contact object? 

 

If there's a first name/last name match via LinkedIn?  

 

#Trailhead  #Salesforce Developer  #Salesforce Admin  #Salesforce  #Data Management  #Sales Cloud

1 answer
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    Oct 22, 10:27 PM

    Hello @Abby M, if you do not plan to request LinkedIn, and just navigate to it, you may create a custom field that will host the linkedin identifier of the contact, with a hyperlink formula to create the link to the linkedin page, on your contact detail page.  

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

    Eric

0/9000

In the challenge for Refine Your Prompt Template for Accurate Agent Replies

I keep getting the error "We can’t find the merge field {!$Flow:Get_Celebration_Details.Prompt} in the prompt template."   

the flow is active,  

its added to my prompt template via insert resource 

everything is saved and activated 

what am I missing? 

 

The other question like this didnt have an answer that helped me.

 

  

 

#Trailhead Challenges

2 answers
  1. Oct 22, 10:26 PM

    Thanks for the ideas.  I've rebuilt everything in a brand new org going back to the first module in this badge and its the same error. :/ 

0/9000
Hi 

 

I'm trying to complete a hand on challenge but I keep getting the same error message even though I've fixed the problem. 

 

Trail: Formulas & Validations 

 

Unit: Implement Roll-Up Summary Fields

 

Challenge 

  • Create a rollup summary field that determines the potential value of the opportunities associated with an account.
  • Add a custom field to the standard account object that provides a rollup summary of the total expected revenue from all related opportunities.
  • The rollup summary field should be labeled Potential Value and have the Field Name of Potential_Value. The resulting API name should be Potential_Value__c

The rollup summary should calculate the total expected revenue of all the

opportunities related to the account.

 

Challenge not yet complete in My Trailhead Playground 3

 

An account with a related opportunity did not calculate the correct potential value.

 

I've gone through all of the accounts on the trail and updated them. Then I created a brand new playground and still get the same error message any help would be appreciated. 

 

Many thanks in advance

 

Rebecca
26 answers
  1. Dec 27, 2019, 5:08 AM
    Switching the playground worked for me!

     

    Switching the playground worked for me! Thanks, Monal

     

    Thanks,

     

    Monal
0/9000

I am on the second step of this Superbadge and have run into two separate issues. I have walked through this configuration in two separate developer environments, with the same issues: 

 

1. Prompt Template validation:  

When I create the specified prompt template (Translate Survey Input), I update the [Survey Input Field] with the dynamic value of Input.Fitness.Survey_Input__c using the 'Insert Resource' button. I test out the prompt and its working as expected. When I try to validate, I get the following error from Trailhead:  

Superbadge: Prompt Template Builder

 

2. Synchronous Flow error: 

I successfully add the Prompt Template Actions as well as the Update Records action to set the Translated Survey Field.  

 

image.png

 

If I keep this in the "Run immediately" flow, I get the following error when creating a new Fitness record: 

 

image.png

 

I

believe

the fix is to make this entire flow asynchronous. When I switch the flow over to an async path: 

 

 

 

image.png

 

This works, but there is a delay for the updated Translated Survey Input. 

 

Any suggestions would be super appreciated 

 

 

#Trailhead Superbadges  #Flows  #Prompt Builder

3 answers
  1. Oct 22, 10:16 PM

    Hi , 

     

    I think if there might be another difference between the template configuration expected by the Challenge checker and your current Version 5 configuration.

0/9000