Las superbadges permiten usar las habilidades que has aprendido y aplicarlas a problemas complejos empresariales del mundo real. Estas evaluaciones requieren un nivel más elevado de habilidades y conocimientos. No son desafíos paso a paso y a veces se tarda más en completarlas.
Create a Prompt Template for an Engagement Email
The team is thrilled that these new prompt templates and automations are in place to summarize and translate client information. Now, Tranquil Trails wants to help wellness coaches easily create engaging, personalized emails that encourage clients to keep working toward their wellness goals. To do this quickly, the team wants the system to compare client information with available programs to suggest activities and offerings that align with client interests. This will save the coaches time from having to manually sort through interest and program records.
Create the Program Recommendation Prompt Template
Create a prompt template that will quickly create personalized email drafts for common sales scenarios. Name the template Program Recommendation Email with API name Program_Recommendation_Email and any description text reflecting the purpose of the template. When you define the template, specify the Contact object for the Recipient; do not configure a Related Object. The template will reference information from the client’s interests and preferences to generate a personalized email.
The template will also reference an Apex class already available in the Tranquil Trails system called Program_Recommendation with API name Prompt_Program_Recommendation_Invocable. This Apex class uses just a few lines of code to generate personalized program suggestions dynamically, informed by a client’s specific fitness interests.
Use the following instructions in the Prompt Template Workspace. Be sure to include full names where specified.
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. """
Send AI-Powered Sales Emails
Preview the response to confirm that the model runs as expected and confirm that the prompt template is ready for use in the system. Make sure that wellness coach Victoria Bryant can select the Draft with AI feature in the native email activity. Test the feature as a user would by sending an email to Robinette Bullman using the Program Recommendation Email template. You do not need to log in as Victoria to test the feature.
After your successful test, it's time to share the results with the marketing and sales teams to demonstrate the features Prompt Builder offers. They can already tell that they will save countless hours previously spent manually sifting through client surveys, recommending program offerings, and drafting individual emails. The teams can’t wait for you to roll out more AI-powered features.
