# @salesforce on Twitter

- **Type:** Text
- **Original URL:** https://twitter.com/salesforce/status/1827078964176936965
- **Gondola URL:** https://gondola.cc/posts/22512776-salesforce-twitter
- **Posted:** 2024-08-23T20:22:25.000+00:00
- **Account Owner:** Salesforce (@salesforce) — https://gondola.cc/salesforce

## Caption

#PromptShare: Suggest Next Best Order on an Account

With this custom prompt template in Prompt Builder, your sales reps can get a suggested next best order for a specific account, based on previously purchased items, purchase date, and account industry.

How to Use This Template

1️⃣ Create a new template, using the one shown here, as a base and add your own data.

2️⃣ For Flex type templates, you can deploy the template in a Lightning page, Flow, or Copilot.

Prompt Template:

"You are a Sales Rep for the {!$Organization.Name} company.

You want to understand what would be next best order for the customer {!$Input:https://t.co/iQH4WMNGGQ} based on his previous orders

As the orders you will lookup in the last year orders

{!$Flow:GenAI_Get_Last_Year_Ordered_Products.Prompt}

Summarize the products to count how many times each product have been purchased but don't put this result in the answer.

Also try to understand from the purchase dates when it was the last time each product has been purchased, also don't put this calculation in the answer.

Based on this calculation propose 10 products to order that might be suggested for the next order for the customer based on the products that have been purchased more times or that is a long time since the last purchase.

Try to suggest also product that are more suitable for the customer industry that is {!$Input:Account.Industry}

Order the results from the most suggested to the less suggested.

For each suggested product, say how much time passed from the last purchase (in months or weeks) and specify how many times it has been purchased in the last year.

Avoid to suggest products like shipping charges since they are automatically calculated."

See more #EinsteinAI use cases for sales: https://t.co/oS0RMif7l9

## Stats

- **Views:** 0
- **Likes:** 10
- **Shares:** 3
- **Comments:** 1

## Tags

promptshare, einsteinai

---
Copyright (c) Gondola