can any one help me to complete this module
#Trailhead Challenges
can any one help me to complete this module
#Trailhead Challenges
Hi Trailblazers! 👋
I’m Jagadeeswari, a passionate Salesforce Technical Consultant from India with 2 years and 10 months of hands-on experience, currently exploring new opportunities in the Salesforce ecosystem.
🔹
Open to:• Full-time roles
• Part-time opportunities
• Freelance projects
🌍
Location & Work Preference:Based in India and highly interested in collaborating globally (Onshore/Offshore projects)
🔹
Experience Level:Entry-level to Mid-level roles
🔹
Certifications:✔ Salesforce Certified Administrator
✔ Platform Developer I
✔ Service Cloud Consultant
✔ Field Service Lightning Consultant
✔ Agentforce Specialist
🔹
Key Skills & Expertise:• Salesforce Sales, Service & Field Service Cloud
• Apex, Triggers, SOQL & Lightning Web Components (LWC)
• Flows, Approval Processes & Automation
• Integrations (REST/SOAP), Platform Events & SSO
• Experience Cloud & Omni-Channel
• Agentforce, Data Cloud & AI (LLMs, Prompt Engineering, LangChain)
• Field Service: Work Types, Work Plans, Inventory, Mobile Customization
🔹
Strengths:• Strong willingness to learn and adapt quickly
• Research-oriented mindset with a focus on problem-solving
• Ability to work independently and take ownership of tasks
🔹
Recent Work Highlights:
✨ Built an AI-powered course enrollment assistant using Agentforce with personalized guidance
✨ Implemented Field Service solutions improving technician efficiency & automation
✨ Developed Experience Cloud sites
I’m enthusiastic about contributing to global teams
, building scalable AI-driven Salesforce solutions, and continuously growing within the ecosystem.
If you’re hiring or know of any relevant opportunities, I would truly appreciate your referrals.
📩 Feel free to connect with me here or via LinkedIn
#Salesforce #Trailhead #Hiring #Freelance Project Work #Agentforce #AI #Salesforce Developer #Salesforce Admin #Trailhead Challenges #Certifications
Hi @Noman zada
"Thank you for contacting Trailhead Help. After reviewing your case, I have confirmed there are no platform issues or bugs associated with this superbadge.
The Trailhead Help team is unable to share solutions or hints or debug any incorrect configuration or code. Please remember superbadges are credentials intended to test an individual Trailblazer's skills and abilities.
Providing or requesting step-by-step guidance and/or specific solutions is a violation of the Salesforce Credential and Certification Program Agreement and is not permitted.
I recommend you review the superbadge prerequisites and the associated help article <https://trailhead.salesforce.com/help?article=CRM-Analytics-and-Einstein-Discovery-Insights-Specialist-Superbadge-Trailhead-Challenge-Help> to help unblock you from completing this superbadge."
Regards,
Ghouse
Trailhead Help
"An unexpected error occurred while testing different scenarios. We were unable to insert Account or Contact records as expected. Check your org for other customization that might interfere with record creation, then click "Check Challenge" again. If this continues, contact the Salesforce Help team."
#Trailhead Challenges
Challenge Not yet complete... here's what's wrong:
We can't check your work because something in your org prevents executing the generateRatingParams method from the GuestReviewRatingCalculator class.
#Trailhead Challenges #Trailhead Superbadges
- following is the content of the comment
Just wrapping up my experience with
Challenge 3 — thought the details might be useful.
Initially, I encountered the error:
This was resolved by adding @AuraEnabled, as per the documentation in Exercise 1: Invoke Prompt Templates from Apex and Lightning Web Components
.
However, after completing the Apex implementation, the challenge still failed with a generic error asking to contact Trailhead support, despite everything looking correct.
After some experimentation, I decided to remove @AuraEnabled
entirely since LWC wasn’t required for this challenge, and that did the trick.
✅
Challenge Passed Successfully
So the final fix was to not use @AuraEnabled at all, even though it resolved one of the initial errors.
Sharing Apex code, in case others run into the same confusing behavior.
public class GuestReviewRatingCalculator {
public Experience__c generateRatingParams(String experienceId){
System.debug(experienceId);
Map<String, String> experience = new Map<String, String>();
experience.put('id', experienceId);
ConnectApi.WrappedValue experienceValue = new ConnectApi.WrappedValue();
experienceValue.value = experience;
Map<String, ConnectApi.WrappedValue> inputParams = new Map<String, ConnectApi.WrappedValue>();
// List<Experience__c> exps = [SELECT Id, Name, Communication__c, Value__c, Accuracy__c FROM Experience__c where Id=:experienceId];
//TO-DO Configure Prompt Template Input API Name(Input:experience)
inputParams.put('Input:experience', experienceValue);
// Configure invocation parameters
ConnectApi.EinsteinPromptTemplateGenerationsInput executeTemplateInput = new ConnectApi.EinsteinPromptTemplateGenerationsInput();
executeTemplateInput.additionalConfig = new ConnectApi.EinsteinLlmAdditionalConfigInput();
executeTemplateInput.additionalConfig.applicationName = 'PromptBuilderPreview';
executeTemplateInput.isPreview = false;
executeTemplateInput.inputParams = inputParams;
try {
//TO-DO Call the service generateMessagesForPromptTemplate to generate response by specifying the prompt template API name and input parameters
ConnectApi.EinsteinPromptTemplateGenerationsRepresentation generationsOutput = ConnectApi.EinsteinLLM.generateMessagesForPromptTemplate(
'Experience_Guest_Reviews_Evaluator',
executeTemplateInput
);
//TO-DO Extract the response text from generations property
ConnectApi.EinsteinLLMGenerationItemOutput response = generationsOutput.generations[0];
//Deserialize the response
Map<String, Object> jsonMap = (Map<String, Object>) JSON.deserializeUntyped(response.text);
Decimal accuracy = jsonMap.containsKey('Accuracy') ? (Decimal) jsonMap.get('Accuracy') : 0;
Decimal value = jsonMap.containsKey('Value') ? (Decimal) jsonMap.get('Value') : 0;
Decimal communication = jsonMap.containsKey('Communication') ? (Decimal) jsonMap.get('Communication') : 0;
//Update the Experience record with the deserialized response
Experience__c exp = new Experience__c(Id=experienceId, Value__c =value, Accuracy__c=accuracy, Communication__c = communication);
update exp;
return exp;
} catch (Exception e){
System.debug(e.getMessage());
throw e;
}
}
}
Also, can you see older comments over this feed?
Hi there! My playground that I built the agent in vs the developer agent are not connecting for some reason, and when I try to work through the "Help a Guest Out of a Soggy Situation" my agent is showing an error message in the Coral app. How can I bypass this?
I did the first step of the instructions mentioned below and it worked!
Here are some steps and resources to help resolve the issues you're facing with the Agentforce setup and the Coral app error:
1. Connecting Playground and Developer Agent
___
2. Error in Coral App
___
3. Testing the Coral Cloud Experience Agent
___
4. Additional Tips
This error is coming again and again . I have covered the test class 10% and testing the API with workbench rest explorer and it's working fine. Can someone help?
#Trailhead Challenges
Hi @Srikrishna Ghosh - Make sure you have saved the code
AccountManager
@RestResource(urlMapping='/Accounts/*/contacts/')
global with sharing class AccountManager {
@HttpGet
global static Account getAccount() {
RestRequest request = RestContext.request;
String accountId = request.requestURI.substringBetween('/Accounts/', '/');
Account result = [Select Id, Name, (Select Id, Name FROM Contacts) FROM Account WHERE Id = :accountId LIMIT 1];
return result;
}
}
AccountManagerTest
@IsTest
private class AccountManagerTest {
@isTest
static void testGetContactsByAccountId() {
Id recordId = createTestRecord();
RestRequest request = new RestRequest();
request.requestUri = 'https://yourInstance.my.salesforce.com/services/apexrest/Accounts/'+recordId+'/contacts';
request.httpMethod = 'GET';
RestContext.request = request;
Account thisAccount = AccountManager.getAccount();
System.assert(thisAccount != null);
System.assertEquals('TestRecord', thisAccount.Name);
}
static Id createTestRecord(){
Account accountTest = new Account(
Name = 'TestRecord');
insert accountTest;
Contact contactTest = new Contact (
FirstName = 'Khakan',
LastName = 'Ispakhev',
AccountId = accountTest.Id
);
insert contactTest;
return accountTest.Id;
}
}
Please check
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jfc9KSAR